Skip to content

Add support for template 3.33 - #1590

Merged
lesserwhirls merged 1 commit into
Unidata:maint-5.xfrom
allanfrankwork:add-template-3.33
Aug 10, 2026
Merged

Add support for template 3.33#1590
lesserwhirls merged 1 commit into
Unidata:maint-5.xfrom
allanfrankwork:add-template-3.33

Conversation

@allanfrankwork

@allanfrankwork allanfrankwork commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Add support for grib files using grid definition template 3.33 (https://library.wmo.int/viewer/35625/download?file=WMO-306-v-I-2-2025_en.pdf&type=pdf&navigator=1 page 40.

GDS template 3.33 is the same as 3.30 except 4 additional values (nux, ncx, nuy and ncy).

I know of no public grib files that use 3.33 yet, so testing was done internally - and as I understand it, these 4 values are only used to be able to place the grib file in a larger context (so not used .

But even if those values are not used, parsing still fails with "Unsupported GDS type = 33" - therefore this PR.

PR Checklist

  • Link to any issues that the PR addresses
  • Add labels
  • Open as a draft PR
    until ready for review
  • Make sure GitHub tests pass
  • Mark PR as "Ready for Review"

@allanfrankwork

Copy link
Copy Markdown
Contributor Author

Labels grib2 and iosp: grib could be added.

@allanfrankwork
allanfrankwork marked this pull request as ready for review August 10, 2026 10:11
@lesserwhirls lesserwhirls added grib2 iosp: grib grib file format labels Aug 10, 2026
@lesserwhirls lesserwhirls added this to the 5.11.0 milestone Aug 10, 2026
@lesserwhirls

Copy link
Copy Markdown
Member

Thank you for your contribution! If you would not mind, could you let us know when a sample message would be available?

@lesserwhirls
lesserwhirls merged commit 653ce8d into Unidata:maint-5.x Aug 10, 2026
15 checks passed
@allanfrankwork

Copy link
Copy Markdown
Contributor Author

Yes, I expect end of this year.

I had hoped to do something similar to #1574 for this once the index can be generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

grib2 iosp: grib grib file format

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants