data.plots.update (re)generates plots for a station. It is based on the update notification system for specific archives. By default the plots for the rawnrt archive are generated as data comes in, those for the raw archive are generated daily and those for the clean and avgH archives are generated weekly. Updates within the existing data range may trigger a regeneration of plots if the update intersects the last generated plot.

Uses plots.conf to determine what plots to generate.

Command Line Usage

data.plots.update [--reprocess] station [archive1 ... archiveN]



The station identifier code. For example 'brw'. Case insensitive.

archive1 ... archiveN

List of archives to update. Case insensitive. Each must be one of:

  • raw - Lower frequency raw data.
  • rawnrt - Higher frequency raw data.
  • clean - Clean data.
  • avgH - Hourly averaged clean data.

Defaults to clean and avgH if none are specified.


Reprocess and regenerate existing plots. This does not generate/update plots for any new data, instead it treats whatever the last seen data was for any specified archives as being the first time any data was seen. The net result is that plots are regenerated up to the last time they where. Yearly plots would be generated up the last complete year while latest interval plots would be generated for the last seen time.

Example Usage

Regenerate clean result plots

data.plots.update --reprocess bnd

Generate any pending raw plots

data.plots.update bnd raw