WDCGG/std WDCGG/std#

Description#

This plugin parses data as provided by the World Data Center for Greenhouse Gases (WDCGG).

One should first download files from the website interface into a given folder.

The parser then determine time zone, scale, etc. according to the header.

Warning

Headers in WDCGG data files are known to be not always fully consistent. Users are warned that un-expected results (time shifts, scale shifts, etc.) may occur depending on WDCGG release…

It is strongly recommended double-checking observations as generated from the WDCGG parser before using them in simulations.

YAML arguments#

The following arguments are used to configure the plugin. pyCIF will return an exception at the initialization if mandatory arguments are not specified, or if any argument does not fit accepted values or type:

Optional arguments#

default_unit : str, optional, default “ppb”

Default unit to use if not explicitly specified in each file

default_duration : float, optional, default 1

Default duration in hours of single measurements to use if not explicitly specified in each file

na_values : float, optional, default -999

Values to be considered as NaNs, hence to be excluded

err_na_values : float, optional, default -999

Values for observational errors to be considered as NaNs, hence to be excluded

measerr : float, optional

Minimum threshold for observation error. All errors smaller than this one will be replaced by the threshold

filter_time_of_day : list, optional

List of hours of the day to keep

YAML template#

Please find below a template for a YAML configuration:

 1obsparser:
 2  plugin:
 3    name: WDCGG
 4    version: std
 5    type: obsparser
 6
 7  # Optional arguments
 8  default_unit: XXXXX  # str
 9  default_duration: XXXXX  # float
10  na_values: XXXXX  # float
11  err_na_values: XXXXX  # float
12  measerr: XXXXX  # float
13  filter_time_of_day: XXXXX  # list