Skip to content

Bug fix for wgrib2 from release/1.9.0: support variant netcdf when=@3.6: (#561)#568

Merged
climbfuji merged 3 commits intoJCSDA:spack-stack-devfrom
climbfuji:bugfix/wgrib2_netcdf_temp_fix_from_rel193
Oct 8, 2025
Merged

Bug fix for wgrib2 from release/1.9.0: support variant netcdf when=@3.6: (#561)#568
climbfuji merged 3 commits intoJCSDA:spack-stack-devfrom
climbfuji:bugfix/wgrib2_netcdf_temp_fix_from_rel193

Conversation

@climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Oct 7, 2025

Description

Cherry-picking 30eb08b from release/1.9.0 for develop to fix the CI build errors discussed in JCSDA/spack-stack#1790 (comment). This is the same as PR #561 that went into release/1.9.0, but updated to match the correct wgrib2 versions that need the fix (see discussion below).

Because the JCSDA spack-stack-dev branch will have all of the packages removed as part of the move to spack v1 (spack-stack v2), this is going to be the last PR for the packages inside the old spack v0.23 code.

Testing

See JCSDA/spack-stack#1790

@AlexanderRichert-NOAA
Copy link
Collaborator

@AlysonStahl-NOAA can you give this a quick look?

@climbfuji
Copy link
Collaborator Author

@AlysonStahl-NOAA can you give this a quick look?

Just note that this bug fix can be a hack; after this PR, the spack submodule will be frozen until the update from the spack v1 branches is merged. With that merge, the spack code will no longer contain the builtin repo. Rather, the correct bug fix needs to go into the new spack-packages repository (upstream or the JCSDA fork).

@AlysonStahl-NOAA
Copy link

The options to use netcdf3 or netcdf4 merged into a single option with v3.4.0, so I believe this fix should be implemented for 3.4.0+.

@climbfuji climbfuji self-assigned this Oct 8, 2025
@climbfuji
Copy link
Collaborator Author

@AlexanderRichert-NOAA @rickgrubin-noaa Is this version ok?

@rickgrubin-noaa
Copy link
Collaborator

@AlexanderRichert-NOAA @rickgrubin-noaa Is this version ok?

Perhaps add the comment

# options to use netcdf3 or netcdf4 merged into a single option with v3.4.0

if desired; but yes, OK.

Copy link
Collaborator

@rickgrubin-noaa rickgrubin-noaa left a comment

Choose a reason for hiding this comment

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

As noted in the PR conversation, perhaps add the comment

# options to use netcdf3 or netcdf4 merged into a single option with v3.4.0

@climbfuji climbfuji merged commit cce215c into JCSDA:spack-stack-dev Oct 8, 2025
14 of 15 checks passed
@climbfuji climbfuji deleted the bugfix/wgrib2_netcdf_temp_fix_from_rel193 branch October 8, 2025 20:08
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.

4 participants