-
Notifications
You must be signed in to change notification settings - Fork 279
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
Cell methods are treated inconsistently after saving and re-loading #3360
Comments
@schlunma Thanks for taking the time to report this... l completely agree that this is inconsistent behaviour, and looks like a bug to me. Let me just confirm, with some further details of the underlying issue and we'll take it from there |
@schlunma thanks for reporting this! Iris follows CF conventions which specify that the name of the cell method should be:
where, Currently, Iris effectively uses what is returned by the In CF, the cell methods are associated with a data variable (represented by a cube when loaded into Iris) using the
As this list is blank-separated, you can imagine the issues that you could run into if you allowed for spaces in the name of the cell_method. So, the question then is what should Iris do if the coordinate does not have a standard_name and only has a long_name (which may or may not contain spaces). CF gives us other options for approved cell methods names ( A fix to stop coordinates with only long_names being used to create cell method has gone in (see #3399 for more information) and will be available in Iris 2.3 release. In the meantime I can only suggest, as a workaround, to avoid long_names with spaces. |
Another issue which may prevent the concatenation of cubes:
Would it be possible to come up with a consistent solution that doesn't change the cell methods? This prevents
merge_cube
andconcatenate_cube
operations.The text was updated successfully, but these errors were encountered: