wrfchem/std wrfchem/std#
Description#
WRF-Chem domain plugin.
Reads the horizontal and vertical grid used by the WRF-Chem model from two pre-existing WRF output files:
geo_em.d??.nc(fromgeogrid.exe) — horizontal corner coordinates (XLONG_C,XLAT_C).wrfinput_d??(fromreal.exe) — vertical grid layout (bottom_topdimension and sigma level coefficients).
Note
Both files must exist before running CIF. Run WPS (geogrid.exe)
and WRF pre-processing (real.exe) for the target domain first.
The domain is stored as an unstructured flat list of cell centres
(unstructured_domain = True). Nested multi-domain configurations are
supported via max_dom.
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:
Mandatory arguments#
- dir_geo_em : str, mandatory
Directory that contains geo_em.d??.nc produced by geogrid.exe (needed for longitude/latitude corners)
- dir_wrfinput : str, mandatory
Directory that contains (wrfinput_d??) produced by real.exe (needed for vertical grid layout)
- max_dom : str, mandatory
Number of domains to use (in nested domain setup)
YAML template#
Please find below a template for a YAML configuration:
1domain:
2 plugin:
3 name: wrfchem
4 version: std
5 type: domain
6
7 # Mandatory arguments
8 dir_geo_em: XXXXX # str
9 dir_wrfinput: XXXXX # str
10 max_dom: XXXXX # str
See also