wgrib2: -grib
Introduction
The -grib option writes the data in GRIB-2 format. This
option only writes the current field (record/submessage) if the GRIB message
contains multiple fields (records/submessages). If you want to copy the
entire GRIB-2 message, use the -GRIB option.
Usage
-grib file_name
Example
$ wgrib2 test.grb2 -s | grep ":RH:2 m" | wgrib2 -i test.grb2 -grib rh.grb
285:36796469:d=2005090200:RH:2 m above ground:60 hour fcst
The above line writes the 2 m RH from file test.grb2 into rh.grb (grib-2 format).
See also: -GRIB,
-append
|