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: (optional): ppb

Default unit to use if not explicitly specified in each file

accepted type: <class ‘str’>

default_duration: (optional): 1

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

accepted type: <class ‘float’>

na_values: (optional): -999

Values to be considered as NaNs, hence to be excluded

accepted type: <class ‘float’>

err_na_values: (optional): -999

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

accepted type: <class ‘float’>

measerr: (optional)

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

accepted type: <class ‘float’>

filter_time_of_day: (optional)

List of hours of the day to keep

accepted type: <class ‘list’>

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
 8  # Optional arguments
 9  default_unit: XXXXX
10  default_duration: XXXXX
11  na_values: XXXXX
12  err_na_values: XXXXX
13  measerr: XXXXX
14  filter_time_of_day: XXXXX