data.faultreport 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 rules to check are defined in faultreport.conf. The spike filter configuration is defined by an instance of spikefilter.conf located either in the station specific location at $DB/etc/$STATION/$CONFIG.spikefilter.$STATION.conf or the default location $DB/etc/$CONFIG.spikefiler.conf. The default one is used if the station specific one does not exist.
data.faultreport [--source=archive] [--config=editquality] [--quiet] [--csv] [station] start [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.
The station identifier code. For example 'brw'. Case insensitive.
Set the archive to process from, defaulting to avgHe.
The configuration file base name to load rules from. The station specific file in $DB/etc/$STATION/$CONFIG.$STATION.conf is first tried and only if it does not exist is the default in $DB/etc/$CONFIG.conf used. Defaults to “editquality”.
Only produce output on standard output if there are faults detected.
Produce output in CSV format.
data.faultreport sgp 2008W02
data.faultreport sgp 2008:10 2008:12