---
name: "grib_repack"
section: "1"
platform: "linux"
package: "python3-grib"
version: "2.1.6-1+b3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/grib_repack"
---

# grib\_repack(1)

change the packing scheme in a GRIB2 file

## NAME

**grib\_repack - change the packing scheme in a GRIB2 file**

## SYNOPSIS

**grib\_repack** *\[options\] grib2filein grib2fileout*

**grib -h**

for help

## DESCRIPTION

repack the data in  *grib2filein* with a different packing scheme.

## OPTIONS

- **-h**

  Give help

- **-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

  ## AUTHORS

Jeffrey Whittaker \<jeffrey.s.whitaker@noaa.gov\> wrote the code.\
 Alastair McKinstry \<mckinstry@debian.org\> wrote this man page.
