Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the macro first we call flexpart_total_column() to compute the "tcmd" fields with units of "kg m**-2".

Code Block
languagepy
dIn="result_fwd/"
inFile=dIn  & "conc_s001.grib"

#Compute the total column integrated mass
g=flexpart_total_column(source: inFile, param: "mdc")

Next, we define the contouring. The "tcmd" fields are automatically scaled into "ng have the units of "kg m**-2" for contouring (see here for details)  but with the current value range it is better to use "g m**-2" units would better fit for contouring. To achieve it we simply multiply the "tcmd" fieldset with 1000:

...