This library contains C decoder/encoder routines for GRIB edition 2.
Other
18
stars
11
forks
source link
pdstemplate 32 (Analysis or Forecast at a horizontal level or in a horizontal layer at a point in time for simulated (synthetic) satellite data) wrong #346
For pdstemplate.c we have:
Since the ext array is of length list[9] 10, and then initializes list[9] 5, half of the extension array is not initialized.
Looking at the documents here https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp4-32.shtml seems like the extlen should be list[9] * 5.
When I look at the Fortran code I see that list[9]*5 is correct for the C code: