-
Notifications
You must be signed in to change notification settings - Fork 264
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
NETCDF3 endian error in python 3.12 on windows server #1373
Comments
@veenstrajelmer Looks like there is an unreleased fix already: #1355 |
Ok that is amazing. In that case, I am very much looking forward to a new release. When is that expected? |
Not sure if the question was directed to me, but I'm not part of the netcdf4 dev team, just someone else who had the same error and was looking through linked issues and related pull requests :) So I couldn't tell you when the next netcdf4-python release is planned for. |
Hope to create a new release this week |
there's a new release up on pypi. Feel free to re-open this issue if the problem persists. |
This issue was resolved with the 1.7.2 release, thanks a lot! |
Error report
In a poetry environment with numpy 2.0.2 and netcdf4 1.7.1.post2 I get the following error in my test suite on github:
"RuntimeError: only endian='native' allowed for NETCDF3 files, got 'big' (variable 'network', group '/')"
. This also happens for other variables, e.g."RuntimeError: only endian='native' allowed for NETCDF3 files, got 'big' (variable 'mesh2d', group '/')"
.The environment details and tracebacks are available here:
https://github.com/Deltares/HYDROLIB-core/actions/runs/11290766627/job/31403293222
Would this be something that will be solved with netcdf4 1.7.2 (or a new 1.7.2 post release like mentioned in #1370) or is this issue not on the radar yet?
Additional information
What I tried:
ValueError: numpy.dtype size changed
when numpy and netcdf4 versions did not match up (Investigate numpy 2.0.0 support Deltares/HYDROLIB-core#657)The text was updated successfully, but these errors were encountered: