Metview Macro Library function. Computes the total column integrated mass for the "mdc" (mass density concentration) fields in a FLEXPART output GRIB file.
fieldset flexpart_total_column(...)
This function uses a set of named parameters as argument.
source
The FLEXPART output GRIB file.
data
The FLEXPART output GRIB as a fieldset. It takes precedence over source
step
The forecast step to extract.
release
The release to extract. Release indexing starts at 1.
ageclass
The ageclass to extract. Ageclass indexing starts at 1.
# to
compute the total column integrated mass for all the steps, releases and ageclasses
g=flexpart_total_column(source: "my_flexpart_output.grib")