data.update.avg generates and archives averages intended to accelerate usage of clean data. It generates an updated archive of avgH data. All the passed records defined in pass.conf are updated. When called it will perform any pending updates for the station but it may also be given a range of data to force an update for.

It is normally invoked by both data.pass and data.aggregate.allstations.

Command Line Usage

data.update.avg station [start end]


start and end

The time specifiers for the data to be retrieved. Start is inclusive while end is exclusive, so all data contained within the half open interval [start,end) will be updated. Any convertible time format is accepted. If absent then only the pending updates for the station are performed.


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

Example Usage

data.update.avg bnd 2008Q1 2008Q2