Skip to content
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

Fix bug that returned incorrect results when an invalid identifer is provided to cf.Field.cell_methods #300

Merged
merged 4 commits into from
Dec 5, 2024

Conversation

davidhassell
Copy link
Contributor

Fixes #299

@davidhassell davidhassell added the bug Something isn't working label May 30, 2024
@davidhassell davidhassell added this to the Next release milestone May 30, 2024
Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One typo in the changelog and formatting issue, but otherwise perfect with sufficient new testing. +1 for the new examples for the docs. Please merge once the minor comments are addressed.

(FYI as part of testing, in case of logic re-use and because bugs can, I did a quick check that other multiple construct getting methods don't display the same bug, e.g. f.coordinate_references and f.domain_axes('bad'), but all looks good.)

Changelog.rst Outdated Show resolved Hide resolved
cfdm/field.py Outdated Show resolved Hide resolved
davidhassell and others added 3 commits December 5, 2024 09:06
Co-authored-by: Sadie L. Bartholomew <[email protected]>
Co-authored-by: Sadie L. Bartholomew <[email protected]>
@davidhassell davidhassell merged commit e0436b0 into NCAS-CMS:main Dec 5, 2024
@davidhassell davidhassell deleted the cell-methods branch December 5, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cf.Field.cell_methods returns incorrect results when an invalid identifer is provided
2 participants