-
Notifications
You must be signed in to change notification settings - Fork 285
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
Lockfile updates #4968
Lockfile updates #4968
Conversation
The intermittent HDF5 errors and GHA worker crashes appear associated with the same tests - those that read NetCDF files. I'm certain they are dependency related as I have simultaneously re-run another GHA run with our existing lockfiles (run My guess is either the netCDF4 or NumPy changes. I can't reproduce locally. |
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.
@trexfeathers Brilliant detective work 🕵️♂️
A couple of super minor format changes suggested (to align with existing formatting), otherwise let's get this banked 👍
Hi @trexfeathers and @bjlittle, I had come across the test failures in If I am not mistaken, the code in
where At the moment, only two vector directions are tested, The situation improves when one adds additional directions using something like
For the failing unit test, unmasked vectors are now very close to the 0.1% threshold. The downside is that it is evidently a bit more expensive to compute, and the number and range of angles are free parameters - 4 angles between 0 and 90 degrees work in this case, but it's not immediately clear that this will suffice in others. Not sure how critical it is for rotated wind vector magnitudes to stay close to the stretching threshold, but just in case you are interested in looking at that. |
Thanks very much @tinyendian, it's good to have this information here; this is a topic that the team struggle to understand fully. We're happy with the situation as it is currently, but if we ever need to come back we can use the wisdom you've provided here 🙂 |
* Updated environment lockfiles * Adjustments for Cartopy v0.21.0 (SciTools/cartopy@fcb784d). * Cartopy >=0.21 pin. * What's New entry. * WIP try netCDF4 pin. * Try pip installing netcdf4==1.6.1 as requested by @ocefpaf. * Revert "Try pip installing netcdf4==1.6.1 as requested by @ocefpaf." This reverts commit ce9f890. * netcdf4!=1.6.1 * Align Conda YAML formatting. Co-authored-by: Lockfile bot <noreply@github.com>
* Lockfile updates (#4968) * Updated environment lockfiles * Adjustments for Cartopy v0.21.0 (SciTools/cartopy@fcb784d). * Cartopy >=0.21 pin. * What's New entry. * WIP try netCDF4 pin. * Try pip installing netcdf4==1.6.1 as requested by @ocefpaf. * Revert "Try pip installing netcdf4==1.6.1 as requested by @ocefpaf." This reverts commit ce9f890. * netcdf4!=1.6.1 * Align Conda YAML formatting. Co-authored-by: Lockfile bot <noreply@github.com> * New lockfiles. * What's New entry. * What's New correction. Co-authored-by: Lockfile bot <noreply@github.com>
🚀 Pull Request
Description
v0.21.0
:!=1.6.1
pin to avoid segfaults.TODO:
>=0.21
)Consult Iris pull request check list