Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PDT 4.32 and change PDT class structure #130

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

EricEngle-NOAA
Copy link
Collaborator

This commit provides support for PDT 4.32.

This is the first PDT that deviates from the "base" structure of PDT 0. In 4.32, the fixed surface attributes are not present. Therefore, need to remove section 4 attrs from the Grib2Message class and define elsewhere.

The solution provided here is to create 2 new PDT-related template classes as "base" classes. These are ProductDefinitionTemplateBase and ProductDefinitionTemplateSurface and they can be inherited by the actual PDT classes.

Also here is a change to the wgrib2-formatted level string to provide the string 'no_level'.

This commit references #128

This commit provides support for PDT 4.32.

This is the first PDT that deviates from the "base" structure of
PDT 0.  In 4.32, the fixed surface attributes are not present.
Therefore, need to remove section 4 attrs from the Grib2Message class
and define elsewhere.

The solution provided here is to create 2 new PDT-related template
classes as "base" classes.  These are ProductDefinitionTemplateBase and
ProductDefinitionTemplateSurface and they can be inherited by the actual
PDT classes.

Also here is a change to the wgrib2-formatted level string to provide
the string 'no_level'.

This commit references #128
@EricEngle-NOAA EricEngle-NOAA linked an issue Jan 25, 2024 that may be closed by this pull request
Added satellite band attributes for when numberOfContributingSpectralBands is greater than 0.
PDTN 4.31 is similar to 4.32

Syntax clean up for class definitions

This commit references issue #128
@EricEngle-NOAA EricEngle-NOAA marked this pull request as ready for review January 29, 2024 21:49
@EricEngle-NOAA EricEngle-NOAA merged commit cfe1d27 into master Jan 29, 2024
20 checks passed
@EricEngle-NOAA EricEngle-NOAA deleted the 128-add-support-for-pdt-432 branch January 29, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for PDT 4.32
1 participant