Versions Compared

Key

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

...

  1. Without options a default list of keys is printed. \nThe The default list is different depending on the type of grib message. \n

    Code Block
    >> grib_ls ../data/reduced*.grib1 ../data/regular*.grib1 ../data/reduced*.grib2 \n
  2. To print offset and count number in file use the keys offset and count \n Also the total count in a set of files is available as countTotal\n

    Code Block
    >> grib_ls -p offset,count,countTotal ../data/reduced*.grib1
  3. To list only a subset of messages use the -w (where option). \n Only the pressure levels are listed with the following line. \n

    Code Block
    >> grib_ls -w levelType=pl ../tigge_pf_ecmwf.grib2 
  4. All the grib messages not on pressure levels are listed as follows: \n

    Code Block
    >> grib_ls -w levelType!=pl ../tigge_pf_ecmwf.grib2