Versions Compared

Key

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

...

Does not fail when the message has wrong length

bufr_ls examples

  1. Without options a default list of keys is printed. The default list is different depending on the type of bufr message.

    Code Block
     
    >  bufr_ls ../data/bufr/syno_multi.bufr ../data/bufr/temp_101.bufr 
    


  2. To print offset and count number in file use the keys offset and count Also the total count in a set of files is available as countTotal

    Code Block
     
    >  grib_ls -p offset,count,countTotal ../data/reduced*.grib1
    


  3. To list only a subset of messages use the -w (where option). Only the pressure levels are listed with the following line.

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


  4. All the grib messages not on pressure levels are listed as follows:

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


  5. To get the closest grid point to a latitude/longitude.

    Code Block
     
    > grib_ls -l 51.46,-1.33,1 -p paramId,name ../data/reduced_gaussian_surface.grib2