Skip to main content
U.S. FlagAn official website of the United States government
icon dot gov
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https
Secure .gov websites use HTTPS

A lock () or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

data.update.avg

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]

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 updated. Any convertible time format is accepted. If absent then only the pending updates for the station are performed.

station

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

Example Usage

data.update.avg bnd 2008Q1 2008Q2