Skip to content

Commit

Permalink
Merge pull request #16 from ligiabernardet/rule_updates
Browse files Browse the repository at this point in the history
Clarification wrt mixing ratios
  • Loading branch information
climbfuji authored Aug 3, 2021
2 parents 3f4de47 + afed7be commit 9e1774d
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions StandardNamesRules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,24 @@ CCPP Standard Name Rules
representing quantities at the interface between grid cells vertically,
use at_interface.

#. By default, *mixing_ratio* refers to mass mixing ratios. The long name should
explicitly specify that it refers to the *mass* mixing ratio.
Mass mixing ratios should contain information regarding
with respect to what quantity they are defined, and options are *wrt_dry_air*, *wrt_moist_air*,
or *wrt_total_mass*, where *moist_air* refers to dry air plus vapor and *total_mass* refers
to dry air plus vapor and hydrometeors. A special case exists in the case of mixing ratio
of vapor: the standard name *specific_humidity* should be used instead of
*mixing_ratio_of_vapor_wrt_moist_air*.

#. Volume mixing ratios should be qualified as *volume_mixing_ratio*.

#. When referring to soil quantities,
*volume_fraction* should be used to express the volumetric soil moisture.

#. Number concentration should appear as a prefix, that is, *number_concentration_of*. By default,
number concentrations are specified per unit of volume. When they are specified per
unit of mass, they should be written as *mass_number_concentration_of*.

#. If possible, qualifiers should be limited in order to allow for a wide
applicability of the variable. In other words, don't qualify with _for ``_xyz``
unless a variable could not conceivably be used outside of the more
Expand Down Expand Up @@ -253,7 +271,6 @@ Prefixes
| **index_of**
| **vertical_index_at**
| **vertical_dimension_of**
| **volumetric**
| **cumulative**
| **iounit_of**
| **filename_of**
Expand Down Expand Up @@ -438,7 +455,7 @@ standard names.
+-------------------------------------------+-----------------+
| mass_fraction | 1 |
+-------------------------------------------+-----------------+
| mass_mixing_ratio | 1 |
| mixing_ratio | kg kg-1 |
+-------------------------------------------+-----------------+
| mass_transport k | g s-1 |
+-------------------------------------------+-----------------+
Expand Down Expand Up @@ -478,6 +495,8 @@ standard names.
+-------------------------------------------+-----------------+
| volume_fraction | 1 |
+-------------------------------------------+-----------------+
| volume_mixing_ratio | mol mol-1 |
+-------------------------------------------+-----------------+
| volume_transport | m3 s-1 |
+-------------------------------------------+-----------------+
| vorticity | s-1 |
Expand Down

0 comments on commit 9e1774d

Please sign in to comment.