data.aggregate.cpd1ftp

data.aggregate.cpd1ftp generates a zipped file with hourly, daily or monthly averaged a_[HDM] records and places it in $PUB/$STATION/archive/. It functions by using data.aggregate.cpd1 with a source of avgH avgD or avgM.

It is intended to be called as part one of the aggregators invoked by data.aggregate.station.

Command Line Usage

data.aggregate.cpd1ftp hour|day|month station start end

Arguments

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 returned. Any convertible time format is accepted. The start will be rounded down to the year while the end will be rounded up to the year.

station

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

hour|day|month

One of the three time intervals to generate data for.

Example Usage

data.aggregate.cpd1ftp hour bnd 2008 2009