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.editquality

data.editquality generates a report about edited data quality. This report includes a list of detected faults in the hourly averages and optionally the output of a spike filter.

The sanity check faults are defined by editquality.conf. The spike filter configuration is defined by an instance of spikefilter.conf located either in the station specific location at $DB/etc/$STATION/editquality.spikefilter.$STATION.conf or the default location $DB/etc/editquality.spikefiler.conf. The default one is used if the station specific one does not exist.

Command Line Usage

data.editquality [--source=archive] [--quiet] [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. If a single Year/week pair is specified, the end is assumed to be the start plus 7 days. Any convertible time format is accepted.

station

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

--source=archive

Set the archive to process from, defaulting to avgHe.

--quiet

Only produce output on standard output if there are faults detected.

Example Usage

Default one week

data.editquality sgp 2008W02

Exact time range

data.editquality sgp 2008:10 2008:12