NCAR / wrf_hydro_nwm_public

WRF-Hydro model code
https://ral.ucar.edu/projects/wrf_hydro
Other
181 stars 139 forks source link

Update Nudging IO to netCDF NF90 API #684

Closed rcabell closed 1 year ago

rcabell commented 1 year ago

TYPE: update

KEYWORDS: nudging, netcdf

SOURCE: WRF-Hydro Team @ NCAR

DESCRIPTION OF CHANGES:

There were a few remaining uses of the classing Fortran 77 API to netCDF in module_nudging.io.F. This PR migrates them to the NF90 API, which works better with modern versions of gfortran.

ISSUE:

Fixes #523 Build fails with gfortran >= 10.0.1

TESTS CONDUCTED: Pending

NOTES:

There may be more places still using the NF77 API, but they haven't popped up in builds yet. Primary intent here is to be compatibile with gfortran 10+ without needing -fallow-argument-mismatch. Stay tuned...