-
Notifications
You must be signed in to change notification settings - Fork 283
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
Netcdf "var_name" save collisions not handled correctly for coordinates #3643
Comments
The actual error traceback looks like this ...
|
Hypothesis: possible mechanism (2) When the save #2 fails, saving the model level cube creates the "pressure" |
In order to maintain a backlog of relevant issues, we automatically label them as stale after 500 days of inactivity. If this issue is still important to you, then please comment on this issue and the stale label will be removed. Otherwise this issue will be automatically closed in 28 days time. |
This stale issue has been automatically closed due to a lack of community activity. If you still care about this issue, then please either:
|
From @pdearnshaw :
This code causes a failed save to NetCDF :
I essentially create two cubes, one with a model level coordinate and one with a pressure level coordinate. The model level cube has var_name “pressure”, while the pressure level coordinate in the other cube also has var_name=”pressure”. If you save the cubes to a netcdf file in the order of pressure level cube first then the save works. If you reverse the cubes then the save fails in the same way we saw.
(See error trace in separate comment below : it's really long !)
The text was updated successfully, but these errors were encountered: