********************* Batch Plotting Module ********************* The batch plotting system is used to generate a number of plots of data in the METviewer database. The usage statement: .. code-block:: none ---- MVBatch ---- Usage: mv_batch [-list] [-printSql] plot_spec_file [job_name] where "-list" indicates that the available plot jobs should be listed and no plots run "-printSql" print SQL statements "plot_spec_file" specifies the XML plot specification document "job_name" specifies the name of the job from the plot specification to run ---- MVBatch Done ---- The plot_spec_file passed to the batch module contains information about the plots that will be generated. It is an XML file and its top-level tag is **** which contains the following elements, divided into functional sections. NOTE: All **** elements should be listed in alphabetical order. **:** Please reference the `Common XML Structures `_ documentation. **:** (optional) This tag specifies the Rscript instance to use, for example */usr/local/bin/Rscript*. It defaults to the instance on the user path. **:** A structure that specifies the input and output file system folders. | **:** The folder that contains the R templates used by METviewer, typically *R_tmpl/* from the METviewer CVS source tree. | **:** The folder that will contain the data and generated R scripts, must contain the sub-folder *include/* | **:** The output folder that will contain the generated plots. | **:** Please reference the `Common XML Structures `_ documentation. **:** A structure that specifies a date range, including all dates and times between. | **:** The start date and time of the date list, specified in the format yyyy-MM-dd [HH:mm:ss], or with a **** structure. See `Common XML Structures `_. | **:** The end date and time of the date list, specified in the format yyyy-MM-dd [HH:mm:ss], or with a **** structure. See `Common XML Structures `_. | **:** A structure that specifies a list of date ranges, conceptually, a list of **** structures. | **:** The start date and time of the first date range of the list, specified in the format yyyy-MM-dd [HH:mm:ss], or with a **** structure. See `Common XML Structures `_ | **:** The start date and time of the last date range of the list, specified in the format yyyy-MM-dd [HH:mm:ss], or with a **** structure. See `Common XML Structures `_ | **:** The range length, in minutes. | **:** The increment, in minutes, between the end of the previous range member and the start of the next. | | **:** a structure that specifies plot characteristics and may inherit characteristics from other structures | | **Attributes:** | **name:** Name for the plot structure, used when plot's characteristics are inherited by later **** structures. | | **inherits:** Name of one or more **** structure's characteristics to inherit, separated by commas (no spaces). Plots named later on the list override the characteristics of those earlier on the list. | **run:** (optional) **TRUE** or **FALSE**, specifying whether or not to run this plot job. | | **