Versions Compared

Key

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

...

Data value corresponding to the given index is printed.

grib_get examples

  1. Code Block
    >

  2. grib_get fails if a key is not found.\n

    Code Block
    >>grib_get -p gribname ../data/tigge_pf_ecmwf.grib2
  3. To get the step of the first GRIB message in a file: \n

    Code Block
    >>grib_get -w count=1 -p step ../data/tigge_pf_ecmwf.grib2