grib_repack(1)

NAME
grib_repack - 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.