Versions Compared

Key

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

DESCRIPTION

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

...

Declaration of keys to print. For each key a string (key:s) or , a double (key:d) or a long an integer (key:li) type can be requested. Default type is string.

...

C style format for floating point values.-l Latitude,Longitude[,MODE,file]
Value close to the point of a Latitude/Longitude.Allowed values for MODE are:4 (4 values in the nearest points are printed) Default1 (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 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 an integer (key:li) 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.

...

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 an integer (key:li) type can be defined. By default the native type is set.

...

Minimum width of each column in output. Default is 10.

...

Mars keys are printed. -M
Multi-field support off. Turn off support for multiple fields in single grib message.

...

Copy GTS header. -G
GRIBEX compatibility mode.

...

Does not fail when the message has wrong length -i index
Data value corresponding to the given index is printed.

bufr_get examples

  1. bufr_get fails if a key is not found.

    Code Block
     
    > bufr_get -p centreName ../data/bufr/syno_1.bufr