Versions Compared

Key

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

...

Print a latitude, longitude, data values list. Note: Rotated grids are first unrotated

USAGE

grib_get_data [options] grib_file grib_file ...

...

Where clause. Messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be specified. Default type is string. In the value you can also use the forward-slash character '/' to specify an OR condition (i.e. a logical disjunction)

...

Force. Force the execution not to fail on error.

...

  1. To get a latitude, longitude, value list, skipping the missing values(=9999)

    Code Block
    > grib_get_data ../data/reduced_gaussian_model_level.grib2
    


  2. 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
    


  3. 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