Print a latitude, longitude, data values list. Note: Rotated grids are first unrotated
grib_get_data [options] grib_file grib_file ...
Multi-field support off. Turn off support for multiple fields in single GRIB message.
The missing value is given through this option. Any string is allowed and it is printed in place of the missing values. Default is to skip the missing values.
Declaration of keys to print. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be requested. Default type is string.
C style format for values. Default is "%.10e"
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) Note: only one -w clause is allowed.
Key/values to set. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be defined. By default the native type is set.
Force. Force the execution not to fail on error.
GRIBEX compatibility mode.
Does not fail when the message has wrong length
Input file offset in bytes. Processing of the input file will start from "offset".
Version.
To get a latitude, longitude, value list, skipping the missing values(=9999)
> grib_get_data ../data/reduced_gaussian_model_level.grib2 |
If you want to define your missing value=1111 and to print the string 'missing' in place of it
> 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
> grib_get_data -p centre,level,step ../data/reduced_gaussian_model_level.grib2 |