-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error in detect "Reindexing only valid with uniquely valued Index objects" #71
Comments
This is weird, I tried to run the package tests (incidentally found a different issue which is fixed in the master) and I couldn't reproduce your error. |
This is a shot in the dark but could you try to update xarray to 2024.2.0, it was only released a couple of days ago, we noticed a similar issue with reindex in 2024.1.1 (running the xarray tutorial) which has now disappeared. I think in between when I reproduced your error the first and only time and rerun the test the environment I was using got updated. |
Yes, I'll try that tomorrow! |
I checked now with updated versions, but I still get the error sometimes (more specifically in 59/360 slices). Versions:
|
Not sure what to say, as I couldn't get it anymore also I used exactly the same data when I briefly experienced it and in all the other attempts. I will try again, but unfortunately I don't have any work time allocated to work on this anymore |
I will see with those that failed if any of them fail consistently and report back in a few days. Maybe I find something reproducible. |
By iteratively re-running failed calculations, I was able to get all slices done except one. But that final slice throws a different error. So, what ever the issue is, there is no way for me to reproduce it reliably. For me this is then resolved, tho I guess for documentation purposes you may want to keep this issue open? And, regarding the remaining final error message, I am not sure if that error is related to the original error at all, but I'll share it anyway :) The error occurs for longitude grid-points 1136 to 1140 (time: 1981-09-01 to 2023-02-16, lat: all). error message
|
Hi there,
I don't understand the error message down below, could someone here give me a hint what it is that I am doing wrong?
The code just takes 2-grid-points-longitude wide strips of the globe and calculates the climatology and MHWs (I intend to use wider strips, but for now, 2 is the smallest possible width. I run into some internal issue with multi-indexing with 1 grid-point width).
I like to run this for the whole globe, but with the speeds I am seeing I probably need to split it up. Ultimately, sending it to multiple nodes on a super computer to get the total time below a week. If I extrapolate, it looks like I can do ~45 grid points longitude in 12 hours on a single node.
The data is the OISSTv2 dataset, so nothing out of the ordinary.
versions
code
error
The text was updated successfully, but these errors were encountered: