Skip to content

grib2: add support for RRFS aerosol products - #1596

Merged
lesserwhirls merged 1 commit into
Unidata:maint-5.xfrom
nullschool-tech:gh-1595
Sep 11, 2026
Merged

grib2: add support for RRFS aerosol products#1596
lesserwhirls merged 1 commit into
Unidata:maint-5.xfrom
nullschool-tech:gh-1595

Conversation

@cambecc

@cambecc cambecc commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Fixes #1595:

  • Adds support for Product Definition 4.46, ensuring that the aerosol type and size are appended to the Variable's full name and other identifying attributes.

  • Fixes the existing support for Product Definition 4.48. The aerosol type and size/wavelength are now appended to the full name and other identifying attributes, which fixes an issue where Variables would be dropped due to equality collisions.

With these changes, all RRFS aerosol products can be decoded.

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"

@CLAassistant

CLAassistant commented Sep 10, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Comment thread grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java
Comment thread grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java
Comment thread grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java
Comment thread grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java
Comment thread grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java
Comment thread uicdm/src/main/java/ucar/nc2/ui/grib/Grib2CollectionPanel.java
Comment thread grib/src/main/java/ucar/nc2/grib/collection/Grib2Collection.java
@cambecc

cambecc commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Note: I'll squash commits when the review is done (since I suspect more commits will be needed).

@lesserwhirls lesserwhirls left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your contribution! Things look good - I also ran our full test suite on our internal Jenkins server and all tests pass. If you have other changes to this PR that you'd like to make, we can iterate, but otherwise I'd be happy to merge this in!

Comment thread uicdm/src/main/java/ucar/nc2/ui/grib/Grib2CollectionPanel.java
Comment thread grib/src/main/java/ucar/nc2/grib/collection/Grib2Collection.java
Comment thread grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java
@cambecc

cambecc commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

Squashed the commits. Also made one slight edit to getAerosolName. This is ready to go. (I can't add labels, btw.)
Thank you!

@cambecc
cambecc marked this pull request as ready for review September 11, 2026 01:48
@lesserwhirls

Copy link
Copy Markdown
Member

Excellent - thank you once again for your contribution! It's greatly appreciated. I'll take care of the minor doc updates in a separate PR.

@lesserwhirls
lesserwhirls merged commit 7051134 into Unidata:maint-5.x Sep 11, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

grib2: RRFS aerosol products not supported

3 participants