-
Notifications
You must be signed in to change notification settings - Fork 283
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
Added AtmosphereSigmaFactory #4052
Conversation
Just signed the CLA 👍 |
Hi @schlunma |
Hi @pp-mo, thanks! I will try to get the |
732f4ce
to
0eaefdf
Compare
for more information, see https://pre-commit.ci
This is ready for review now! Required less changes than expected 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this @schlunma, and thank you for updating it to work with the replacement of pyke! This is a great addition!
I have a few comments. Once those are addressed we can hopefully get this in in time for Iris 3.1. We are hoping to cut the release candidate at the start of next week. If you think that may be too little time, please let me know and we can try to sort something out!
Thanks @lbdreyer for your review. I tried to address all your comments; let me know if you need anything else! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brilliant! Thanks @schlunma for responding so promptly!
* main: [pre-commit.ci] pre-commit autoupdate (SciTools#4299) Updated environment lockfiles (SciTools#4298) cartopy feature download (SciTools#4304) reset whatsnew latest (SciTools#4288) Updated environment lockfiles (SciTools#4289) Update cube.py (SciTools#4287) Missing whatsnew entries for 3.1 release. (SciTools#4283) Update CF standard name table to v77 (SciTools#4282) Added AtmosphereSigmaFactory (SciTools#4052) Updated environment lockfiles (SciTools#4281)
🚀 Pull Request
Description
iris.aux_factory
does not provide an aux factory foratmosphere_sigma_coordinate
yet. This PR adds the classAtmosphereSigmaFactory
similar toiris.aux_factory.OceanSigmaFactory
. Most of the code for the new class is taken from this. Right now, we have a customAtmosphereSigmaFactory
implemented into ESMValTool. This works nicely, but needs to be added manually to the cube after loading the file.Closes #4051.
Note: The "What's new" is still missing, I will add that later!
Thanks!
Consult Iris pull request check list