-
Notifications
You must be signed in to change notification settings - Fork 2
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
xclim 0.48 compatibility #351
Conversation
Let's wait for Ouranosinc/xclim#1664 before we finish this PR. |
The problem with Python3.12 is quite silly. Pushing a fix in a few mins. |
I can push something that ensures the new xrfreq is used when we open catalogs (and parse them). |
a6a4d8b
to
fe90910
Compare
Last commit added a Running on MRCC5-disponible, our largest catalog, my |
I'll be releasing xclim v0.48.2 today! |
This PR is waiting on the newest patch release from conda-forge. Should be available later today. |
|
# Conflicts: # .github/workflows/main.yml # environment-dev.yml # environment.yml # pyproject.toml
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -69,6 +69,7 @@ download = true | |||
deps = | |||
coveralls: coveralls | |||
esmpy: git+https://github.com/esmf-org/esmf.git@v{env:ESMF_VERSION}\#subdirectory=src/addon/esmpy | |||
xclim: git+https://github.com/Ouranosinc/xclim.git@main |
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.
is this still necessary with the new release ?
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.
I figured we could leave it there and have at least one build that checks against the main branch. For xclim, we have a dedicated upstream build; Would it be prudent to implement that here as well? (in another PR)
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.
Ah I see. no strong opinions from me for the upstream build.
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.
You say "no strong opinions", I read "no opposition, go for it". You got it. ;)
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.
One fix, but the rest seems to be good!
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.
lgtm
Co-authored-by: Pascal Bourgault <[email protected]>
Pull Request Checklist:
number
) and pull request (:pull:number
) has been added.What kind of change does this PR introduce?
pandas/xarray/xclim
Does this PR introduce a breaking change?
xscen
now requirespandas >= 2.2
extract_dataset, compute_indicators
) will now return the new nomenclature.frequency --> xrfreq/timedelta
will now only result in the new nomenclature for hours (lower caseh
).Other information: