-
Notifications
You must be signed in to change notification settings - Fork 142
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
V5.1.1 IO update #426
V5.1.1 IO update #426
Conversation
"We're using the netCDF4 output format (already in some places and in more after this PR), but as far as I can tell don't require features from the netCDF4 enhanced data model. Given the state of support for features in the enhanced data model (not great) in various analysis + display tools, we might consider setting the NF90_CLASSIC_MODEL flag to enforce the classic data model." The enhanced data model is backwards compatible, and tooling IS adding support for new features (some faster than others). Also, with older versions of the netcdf C library, issues exist in working with the classic model on some tools (see pydata/xarray#2822, for example). I see no reason to strictly enforce the classic model, when it is a compatible subset of the enhanced. Also, adopting the enhanced model everywhere makes adopting new features simpler in the future. |
I didn't implement this anyway, but for what it's worth I wasn't talking about going back to netCDF3 just restricting to the features of the classic model for the sake of compatibility. Per the docs:
This could easily be changed when there's broader support for the enhanced features. That said, I'm fine with leaving it is as. |
I like that this removes |
This PR passes automated CONUS regression tests for AnA and Long-Range with the expected exception of metadata/file formats. The following are the testing-related messages for these changes:
The issue with the domain version should be addressed by another Issue/PR and need not be changed here. |
TYPE: enhancement?
KEYWORDS: IO, netCDF, compile option, WRF
SOURCE: Katelyn (NCAR)
DESCRIPTION OF CHANGES:
WRFIO_NCD_LARGE_FILE_SUPPORT
compile time option. This is no longer the WRF default (it's been replaced with a flag that does the opposite).nf_create
function tonf90_create
NF90_HDF5
mode toNF90_NETCDF4
ISSUE: Addresses issue #230
TESTS CONDUCTED: Test suite via testing container. Fails testing where netCDF file type has changed.
NOTES:
NF90_CLASSIC_MODEL
flag to enforce the classic data model.Checklist
NEWS.md