Versions Compared

Key

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

...

If you know (or can figure out from some Macro code) exactly what your plot is going to show,  then you can construct a title with no automatically computed elements. Or you can combine the two.

...

Dealing with multiple overlaid fields

Adapt your macro to also read and plot overlay the geopotential data . Use the supplied rh_shade icon to colour the relative humidity field:

...

We should also update the parameter names in the title - let's assume that each frame will contain the same parameters (they contain different levels), so we could change field_namesname to this:

Code Block
languagepy
 field_namesname = grib_get_string(rh[1], 'name') & ' / ' & grib_get_string(z[1], 'name')

...

Extra Work

Meta-data references in Macro

Continue the work of updating the macro first macro   to use nothing but meta-data references so that it does not extract anything from the GRIB header itself and everything is taken at plot time.

The Also, the title just shows the date - add the time of the data.