-
Notifications
You must be signed in to change notification settings - Fork 284
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
Preserve crs_wkt
when loading and saving NetCDF files
#6263
Comments
Hi @neilCrosswaite, Firstly, we're sorry for the frustrating slow progress on this topic, it's just the fastest we can go given the wide scope of the development team. It's good to know there is interest. You can see our 'plan of attack' in the task list on #3796.
Iris has no contract regarding file- #4719 is not a finished solution, and we will need to review your example in more detail to see if Iris is being overzealous versus what we intended. Unfortunately I will be unavailable for further discussion for several weeks after today. Note for developers working on #3796
|
i'd like to add some support for this issue as raised by @neilCrosswaite, from another user community's perspective. we are evaluating adding I can understand newly created coordinate reference system instances not having a |
✨ Feature Request
Preserve
crs_wkt
when loading and saving NetCDF filesMotivation
To add to some of the open issues and PRs on Coordinate reference system well known text (
crs_wkt
) requirements.I would like to:
crs_wkt
on a grid-mapping variablecrs_wkt
remains intact and is identical to the inputcrs_wkt
An example of this would be load a cube, calculate the mean temperature with respect to time which on saving it should have the same coorinate metadata.
There is a current problem with this that the
crs_wkt
just doesn't get loaded nor re-saved.But there is a future problem in #4719 implementation of it that it can change the
crs_wkt
These can be seen with a file loaded and saved using the save from #4719.
The input file has the crs_wkt:
When this is saved it is output as:
Test Examples
I have written example tests for netCDF intergration, which can be viewed on my iris fork: View example tests.
The test loads a file which has a crs_wkt, tests that the crs_wkt is as expected, then it saves the cube and uses netCDF4 to verify that the correct metadata is still on the cube.
The text was updated successfully, but these errors were encountered: