1
2grib_repack(1) General Commands Manual grib_repack(1)
3
4
5
7 grib_repack - change the packing scheme in a GRIB2 file
8
9
11 grib_repack -pN grib2filein grib2fileout
12
13 grib_repack -h
14
15
17 This command (from the pygrib package) repacks the data in grib2filein
18 with a different packing scheme, and writes it to a new file named
19 grib2fileout
20
21
23 The following optional parameter is available:
24
25 -h, --help
26 show help message
27
28 The following parameter is required for normal use and not optional:
29
30 -pN Desired packing type, where N is:
31
32 0 for simple packing
33
34 1 for simple matrix packing
35
36 2 for complex packing
37
38 3 for complex packing with spatial differencing
39
40 4 for no packing (ieee)
41
42 40 for JPEG2000 packing
43
44 41 for PNG packing
45
46 61 for simple log pre-processing
47
48
50 0 if OK
51
52 1 if the program failed during the list stage or if it did not
53 start due to incorrect commandline arguments
54
55
57 The following commnd converts grib2filein to complex packing with spa‐
58 tial differencing, saves result to grib2fileout.
59
60 grib_repack -p3 grib2filein grib2fileout
61
62
64 Jeffrey Whitaker <jeffrey.s.whitaker@noaa.gov> wrote the code.
65 Alastair McKinstry <mckinstry@debian.org> wrote this man page.
66
67
68
69pygrib 2013-10-31 grib_repack(1)