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

Implement Unit.change_calendar #235

Merged
merged 2 commits into from
May 16, 2022
Merged

Conversation

rcomer
Copy link
Member

@rcomer rcomer commented Apr 25, 2022

🚀 Pull Request

Description

Inspired by #185 (comment), introduce a method to replace a unit's calendar (if original and new calendar both represent the real world). I think this should be a step towards solving #185, and also may be useful for UM users if SciTools/iris#3561 is implemented.

@larsbarring I'd appreciate any feedback you may have on this.

@rcomer
Copy link
Member Author

rcomer commented Apr 25, 2022

I don't think the test failures are due to my change....

@trexfeathers
Copy link
Collaborator

I don't think the test failures are due to my change....

@bjlittle and I are working on it

@trexfeathers
Copy link
Collaborator

@rcomer could you update your branch from main?

@trexfeathers
Copy link
Collaborator

Also this looks good to me and we're hoping to cut a release soon, so @larsbarring if you do have any thoughts, now is the time 😊

@rcomer rcomer force-pushed the replace_calendar branch from 07a4475 to 061f066 Compare April 27, 2022 15:17
@rcomer
Copy link
Member Author

rcomer commented Apr 27, 2022

Thanks @trexfeathers, tests all passing now 🙂

@trexfeathers trexfeathers merged commit daa1660 into SciTools:main May 16, 2022
@rcomer rcomer deleted the replace_calendar branch May 17, 2022 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants