noritada/grib-rs

More Template 5.3/7.3 support necessary for GDAS

noritada opened this issue · 0 comments

Motivation

The GDAS data referred to in #29 uses Template 5.3/7.3, but it sometimes cannot be decoded with current decoder:

% ./target/debug/gribber decode nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gdas.20230111/12/atmos/gdas.t12z.pgrb2.0p25.f000 0.0
error: ComplexPackingDecodeError(
    NotSupported,
)

Detailed Information on the Data

  • URL is documented in #29

Additional Context

Octet 49 (numberOfOctetsExtraDescriptors in ecCodes) in some submessages of this data is 3, although this crate currently supports only 2. It is the reason of this error. That octet in other submessages is 2.