wrfchem/std wrfchem/std#
Description#
Reads/writes WRF-Chem wrfchemi_*-style emission NetCDF files.
Flux time steps are matched to the Times character-array variable
embedded in each file (via times_in_wrf_file). Both structured
(south_north/west_east) and “unstructured” (flattened lat/lon) WRF
domains are supported.
Warning
get_domain is not used by this plugin: the horizontal/vertical
domain is instead supplied by a separate wrfchem domain plugin
(see the requirements above), and calling get_domain here always
raises CifNotImplementedError.
VERSION HISTORY 2021-08-20 freum Initial code based on flux_plugin_template
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 “”
Temporal frequency to fetch files
- split_freq : str, optional
Force splitting the processing at a given frequency different to file_freq
Requirements#
The current plugin requires the present plugins to run properly:
Requirement name |
Requirement type |
Explicit definition |
Any valid |
Default name |
Default version |
|---|---|---|---|---|---|
domain |
False |
False |
wrfchem |
std |
YAML template#
Please find below a template for a YAML configuration:
1flux:
2 plugin:
3 name: wrfchem
4 version: std
5 type: flux
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
See also