-
Notifications
You must be signed in to change notification settings - Fork 48
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
unpin xarray #831
unpin xarray #831
Conversation
The test failure seems real. It tries to assign coords with length 64 (from
The test is climpred/climpred/tests/test_alignment.py Line 199 in 64afbd3
The failure happens in Line 2396 in 64afbd3
|
Agreed. I might be the only one to fix this. |
but do I remember what I did 3 years ago???, i.e. during my PhD and before becoming a father? I will need to see whether I find a fix there and actually doubt it initially |
Fair enough! I think the question is - is |
res means result and actually prediction skill. So Line 2396 in 64afbd3
|
Rather 2. and not 1. could work |
The commit I just did might make some coordinate tests fail but should get rid of that error |
But now we get these doctests https://github.com/pangeo-data/climpred/actions/runs/6439605339/job/17487468926?pr=831#step:8:174 which used to have overwritten valid_time. So my fix isn't good... Differences (unified diff with -expected +actual): |
for more information, see https://pre-commit.ci
res.valid_time needs to be overwritten by the join of initialized.valid_time and observations.time if both valid_ times don’t have same size |
______________ [doctest] climpred.classes.HindcastEnsemble.verify ______________ |
Great. That fixed the doctest. |
AttributeError in lead can be easily fixed. |
ignoring all failing tests from climpred/tests/test_bias_removal.py to be fixed in #832 |
…ic for metrics threshold_brier_score and rank_histogram; no idea why lead attrs disappear in these metrics but not in others
fixed all tests expect those dealing with bias (from |
Minimal deps tests pass except for 3 hard to debug segfaults/crashes I would move forward with this. Agree @mathause ? |
Thanks a lot! All good for me! |
Description
After #830 we can check if what happens if we unpin xarray (we can still add a lower pin later)
supports conda-forge/climpred-feedstock#26
To-Do List
xclim in #832
Type of change
How Has This Been Tested?
pytest
except forxclim
Checklist (while developing)