We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the docs iris support CF.15, but it would be nice if iris could preserve the original metadata.
I have a bunch of CF-1.6 files that, after processing them with iris, are downgraded to CF-1.5.
CF-1.6
CF-1.5
Here is an example:
>>> import iris >>> cube = iris.cube.Cube([1, 2, 3]) >>> units = iris.unit.Unit('m') >>> metadata = dict(featureType='timeSeries', Conventions='CF-1.6') >>> cube.attributes = metadata >>> print(cube) unknown / (unknown) (-- : 3) Attributes: Conventions: CF-1.6 featureType: timeSeries
>>> iris.FUTURE.netcdf_no_unlimited=True >>> iris.save(cube, 'tmp.nc') >>> cube = iris.load_cube('tmp.nc') >>> print(cube) unknown / (1) (-- : 3) Attributes: Conventions: CF-1.5 featureType: timeSeries
The text was updated successfully, but these errors were encountered:
I guess that even though reading 1.6 is OK saving will always be 1.5. Closing then.
1.6
1.5
Sorry, something went wrong.
No branches or pull requests
According to the docs iris support CF.15, but it would be nice if iris could preserve the original metadata.
I have a bunch of
CF-1.6
files that, after processing them with iris, are downgraded toCF-1.5
.Here is an example:
The text was updated successfully, but these errors were encountered: