Fix copy to include Ancillary variables and Cell measures#3546
Fix copy to include Ancillary variables and Cell measures#3546trexfeathers merged 6 commits intoSciTools:masterfrom
Conversation
|
This should be merged after rebasing with #3536 so that equality works for testing. |
ebde36d to
232d953
Compare
|
This has now been rebased with #3536. |
trexfeathers
left a comment
There was a problem hiding this comment.
One small change, and please confirm whether this is still "DO NOT MERGE" since the rebasing has been done? Thanks @stephenworsley 😊
|
While AV's are a new feature, CM's are not. So I think there should be a what's new bugfix entry for the fact that CM's are now copied |
|
I have patched in a rough proof of concept fix for equality. This ought to be improvable once #3551 is merged. |
074c75c to
0e416d8
Compare
|
Notes on the effects on all uses of
|
|
Thanks @stephenworsley, LGTM ✔ |
|
|
||
| """ | ||
| all_coords = [cube.coords() for cube in cubes] | ||
| if object_get is None: |
There was a problem hiding this comment.
This is a public function, so you really need to extend the docstring to cover the changes.
The new 'object_get' keyword is undocumented.
It might also be desirable to rename some things here, since e.g. "coords" is no longer always what it says.
Another way is to create an enhanced, private inner routine + leave the public one as a thin wrapper for coords alone.
Given the naming of the function itself, that might actually be preferable.
Fixes another issue in #3483.