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

Examine solutions to NetCDF compatibility issue #75

Open
robertbartel opened this issue Apr 14, 2021 · 1 comment
Open

Examine solutions to NetCDF compatibility issue #75

robertbartel opened this issue Apr 14, 2021 · 1 comment
Labels
dependencies Pull requests that update a dependency file

Comments

@robertbartel
Copy link
Contributor

robertbartel commented Apr 14, 2021

The pre-NextGen NWM does not operate properly with versions of NetCDF beyond 4.6. This is documented in NCAR/wrf_hydro_nwm_public#382. The DMOD workaround is to specify the version. Recently it was discovered this will need to be extended to the netcdf-fortran library also, as its latest is no longer compatible with the required older NetCDF versions.

A better long-term solution is needed. One potential option is an OWP fork of the NWM code, in which we patch the source as needed to work with the newer NetCDF code.

Current behavior

NWM (i.e., pre-NextGen) DMOD images cannot be built unless specific older versions of NetCDF C and Fortran libs are used.

Expected behavior

It should be possible to use the latest NetCDF without issue.

@hellkite500
Copy link
Member

NCAR/wrf_hydro_nwm_public#459 patched the model IO code to make it compatible with netcdf 4.7, effectively resolving the issue. They are willing to back port this to prior NWM versions (1.2, 2.0) and tag releases for the patched branches. This would allow us to simply pull from the patched release and be able to build against current netcdf (4.7.x)

@robertbartel robertbartel added the dependencies Pull requests that update a dependency file label Jan 4, 2022
robertbartel added a commit to robertbartel/DMOD that referenced this issue Jan 31, 2022
Changing Dockerfile for nwm-deps to default to appropriate versions of
NetCDF and NetCDF-Fortran given the bug in DMOD issue NOAA-OWP#75, instead of
defaulting to "latest"
robertbartel added a commit that referenced this issue Feb 4, 2022
Changing Dockerfile for nwm-deps to default to appropriate versions of
NetCDF and NetCDF-Fortran given the bug in DMOD issue #75, instead of
defaulting to "latest"
donaldwj pushed a commit to donaldwj/DMOD that referenced this issue Jun 21, 2022
Changing Dockerfile for nwm-deps to default to appropriate versions of
NetCDF and NetCDF-Fortran given the bug in DMOD issue NOAA-OWP#75, instead of
defaulting to "latest"
christophertubbs pushed a commit to christophertubbs/DMOD that referenced this issue Jan 24, 2023
Changing Dockerfile for nwm-deps to default to appropriate versions of
NetCDF and NetCDF-Fortran given the bug in DMOD issue NOAA-OWP#75, instead of
defaulting to "latest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Status: Todo
Development

No branches or pull requests

2 participants