Global averages from NOAA data NOAA/glob_avg

Global averages from NOAA data NOAA/glob_avg#

Description#

Read NOAA global-average trace-gas concentration NetCDF files.

Files provide a single global-average value per month (no horizontal grid); values are converted from ppb to ppm when read. Writing is not implemented for this format.

Note

The domain builder is adapted from an EDGAR-style emission-grid domain plugin, reused here to build a dummy global grid from the longitude/latitude/pressure variables of a reference file; its error message still refers to “EDGARv5”, a leftover from the plugin it was copied from.

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#

dir : str, optional, default “”

Path to the corresponding component. This value is used if not provided in parameters

file : str, optional, default “”

File format in the given directory. This value is used if not provided in parameters

varname : str, optional, default “”

Variable name to use to read data filesinstead of the parameter name if different to the parameter name

file_freq : str, optional, default “1MS”

Frequency of input files

split_freq : str, optional

Force splitting the processing at a given frequency different to file_freq

YAML template#

Please find below a template for a YAML configuration:

 1field:
 2  plugin:
 3    name: NOAA
 4    version: glob_avg
 5    type: field
 6
 7  # Optional arguments
 8  dir: XXXXX  # str
 9  file: XXXXX  # str
10  varname: XXXXX  # str
11  file_freq: XXXXX  # str
12  split_freq: XXXXX  # str