grib_repack - Man Page
change the packing scheme in a GRIB2 file
Synopsis
grib_repack -pN grib2filein grib2fileout
grib_repack -h
Description
This command (from the pygrib package) repacks the data in grib2filein with a different packing scheme, and writes it to a new file named grib2fileout
Options
The following optional parameter is available:
- -h, ā--help
show help message
- The following parameter is required for normal use and not optional:
- -pN
Desired packing type, where N is:
- 0
for simple packing
- 1
for simple matrix packing
- 2
for complex packing
- 3
for complex packing with spatial differencing
- 4
for no packing (ieee)
- 40
for JPEG2000 packing
- 41
for PNG packing
- 61
for simple log pre-processing
Exit Status
- 0
if OK
- 1
if the program failed during the list stage or if it did not start due to incorrect commandline arguments
Example
The following commnd converts grib2filein to complex packing with spatial differencing, saves result to grib2fileout.
grib_repack -p3 grib2filein grib2fileout
Authors
Jeffrey Whitaker <jeffrey.s.whitaker@noaa.gov> wrote the code.
Alastair McKinstry <mckinstry@debian.org> wrote this man page.