Versions Compared

Key

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

...

  1. To copy only the pressure levels from a file\n

    Code Block
    >> grib_copy -w levtype=pl ../data/tigge_pf_ecmwf.grib2 out.grib
  2. To copy only the fields that are not on pressure levels from a file\n

    Code Block
    >> grib_copy -w levtype!=pl ../data/tigge_pf_ecmwf.grib2 out.grib
  3. A grib_file with multi field messages can be converted in single field messageswith a simple grib_copy.\n

    Code Block
    >> grib_copy multi.grib simple.grib
  4. Use the square brackets to insert the value of a keyin the name of the output file.\n

    Code Block
    >> grib_copy in.grib out_[shortName].grib