Scroll to navigation

GRIB_GET(1) User Commands GRIB_GET(1)

NAME

grib_get

DESCRIPTION

Get values of some keys from a grib file. It is similar to grib_ls, but fails returning an error code when an error occurs (e.g. key not found).

USAGE

grib_get [options] grib_file grib_file ...

OPTIONS

Declaration of keys to print. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be requested. Default type is string.
C style format for floating point values.
Value close to the point of a Latitude/Longitude. Allowed values for MODE are: 4 (4 values in the nearest points are printed) Default 1 (the value at the nearest point is printed) file (file is used as mask. The closer point with mask value>=0.5 is printed)
As -p adding the declared keys to the default list.
Where clause. Grib 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) or a double (key:d) or a long (key:l) type can be specified. Default type is string.
All the keys belonging to namespace are printed.
Key/values to set. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be defined. By default the native type is set.
Minimum width of each column in output. Default is 10.
The input file is interpreted according to the message type.
-7 Does not fail when the message has wrong length
Input file offset in bytes. Processing of the input file will start from "offset".
Data value corresponding to the given index is printed.

AUTHOR

This manpage has been autogenerated by Enrico Zini <enrico@debian.org>from the command line help of grib_get.

April 2009 grib_get