Versions Compared

Key

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

...

    1. The default behaviour for grib_compare without any option is to perform a bit by bit comparison of the two messages. If the messages are found to be bitwise different then grib_compare switches to a "key based" mode to find out which coded keys are different. To see how grib_compare works we first set the shortName=2d (2 metre dew point temperature) in the file regular_latlon_surface.grib1

      Code Block
       
      > grib_set -s shortName=2d regular_latlon_surface.grib1 2d.grib1
      

 

grib_copy examples

    1. To copy only the pressure levels from a file

      Code Block
      >  grib_copy -w levtype=pl ../data/tigge_pf_ecmwf.grib2 out.grib
      

...