How can I display some information of the GRIB header in my title?
Step-by-step guide
When defining your text, you can use a special tag grib_info, Magics will then get the information from the grib header and replace the tag by the value read. You can use all the grib api keys, and Magics have a special one called valid-date that will compute the valid date for the data, taking into account the base date and the step.
1. To get an idea of the available keys on your grib files, you can use the function grib_dump of the grib_api package.
2. Here is a short list of keys that we find useful, and are used in the generation of the automatioc Magics title
grib_api key | definition |
---|---|
centre | originating centre |
name | long name of the parameter |
shortName | short name of the parameter |
valid-date | valid date ( computed by Magics) |
units | units |
level | level |
Related articles
Content by label
There is no content with the specified labels