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.aggregate.cpd1

data.aggregate.cpd1 generates cpd1 style data from any data accessible by the DB system.

Uses records.conf to construct the record mappings.

Command Line Usage

data.aggregate.cpd1 [--prefix] [--header] station record start end source

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.

station

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

record

The (only one allowed) cpd1 record to generate (e.x. “la_”). The record should be the base record (i.e. la_ even for la_e records).

source

Selected the source archive to request data from. Can be “-” to read input from standard input.

--prefix

Enable prefixing the record type to all data lines.

Add a header line.

Example Usage

data.avg sgp h__ 2008:10 2008:11 raw