...
grib_get fails if a key is not found.
Code Block > grib_get -p nosuchkey ../data/tigge_pf_ecmwf.grib2 ECCODES ERROR : Key/value not found
grib_get_data examples
- If you want to define your missing value=1111 and to print the string 'missing' in place of it
Code Block > grib_get_data -m 1111:missing ../data/reduced_gaussian_model_level.grib2
If you want to print the value of other keys with the data value list
Code Block > grib_get_data -p centre,level,step ../data/reduced_gaussian_model_level.grib2
...