Versions Compared

Key

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

...

In the macro first we define the level (8000 m) and the parameter ("mdc") we want to plot. Then we call the Macro Library Function flexpart_filter() to extract the data.

Code Block
languagepy
dIn="result_fwd/"
inFile=dIn  & "conc_s001.grib"
lev=8000
par="mdc"
 
#Read fields on the given height level
g=flexpart_filter(source: inFile,
                  param: par,
                  levType: "hl", 
                  level: lev)

...