-
Notifications
You must be signed in to change notification settings - Fork 59
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
Remove eofs
#1621
Remove eofs
#1621
Conversation
… raise error when accessing first_eof
On inspection, the No further action is required. |
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.
What does @juliettelavoie think of this.
Were you using that property anywhere ? If yes, we'll need to reimplement it in a private script somewhere.
I don't have active scripts that use that property. I am okay to delete it without reimplementing it until we have a clear need for it. |
Co-authored-by: David Huard <huard.david@ouranos.ca>
### What kind of change does this PR introduce? * Drops Python3.8 references and marks Python3.9 as base requirement. * Drops older `xarray` and `pandas` support. * Updates documentation and CI for dropped Python3.8. * Raises required versions of `scipy` and `numpy` (`1.9.0` and `1.20.0`, respectively). * Removes the `winter_storm` indice and indicator (deprecated in `xclim` v0.46.0). * Adopts the new syntax for frequency codes: - "A" is no more - Y -> YE, Q -> QE, M -> ME - H -> h, T -> min, S -> s, L -> ms, U -> us, N -> ns * Addresses several `DeprecationWarning` and `RuntimeWarning` messages related to `numpy`, `xarray`, and `pint` ### Does this PR introduce a breaking change? **Yes**, Python3.8 is no longer supported and base dependency versions have been augmented: - `numpy>=1.20.0` - `pandas>=2.2.0` - `scipy>=1.9.0` - `xarray>=2023.11.0` ### Other information: ~Python3.12 support is still not possible due to missing Python3.12 builds for `numba`. (This is being addressed in #1613)~ - This has been addressed. A Pull Request has been opened to address `DeprecationWarning`s stemming from `numpy` calls in `eofs` (ajdawson/eofs#148; `eofs` has been removed due to licensing-related issues (#1621))
Pull Request Checklist:
lmoments3
andeofs
is not permitted under GPLv3 #1620number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
eofs
library has been removed from the optional dependencies.xclim.sdba.properties.first_eof
and associated test) has been removed from the code base.eofs
functionality.Does this PR introduce a breaking change?
Yes.
eofs
has been completely removed since this violated its GPLv3 license. Associated functionality is reproducible by usersOther information:
Should we be offering users a note about how to migrate? I feel like it's not necessary.