-
Notifications
You must be signed in to change notification settings - Fork 54
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
Feature Detection HDF5-DIAG Error #388
Comments
Hi @sortland33 , thanks for reporting this. This seems to be an issue with python loading the data from file during processing. Could you let us know what version of the following libraries you have installed: python, hdf5 |
@w-k-jones Ack! I should have thought to include those above. Sorry about that. python: 3.11.6 |
I think the problem may be similar to what is reported here: SciTools/iris#5187 as a clash between hdf4 v1.12.2 and libnetcdf v4.9.1. Could you see what version of libnetcdf you have, and if it is 4.9.1 try downgrading it to 4.8.1. Otherwise you may have to try upgrading both hdf5 and libnetcdf to the latest versions (v1.14.3 and v4.9.2 respectively) |
HDF5 issues are only second to time issues in causing me the most headaches over the past 5 years. |
@w-k-jones Thanks for the suggestions! Good news, bad news. Bad news: Good news: So the newest versions fix the issue, but other users may run into this if they have environment conflicts that prevent them from installing the newest hdf5 and libnetcdf versions. @freemansw1 Dealing with this hdf5 thing is nightmarish. It seems this was a can of worms I was not prepared to deal with on a Friday :P |
@sortland33, it seems like this has been resolved; can we close this issue? |
@freemansw1 Yes, this is all set to be resolved. Thanks |
When running
tobac.feature_detection.feature_detection_multithreshold
I am running into an error (see below) that prints out on repeat. Of course, I wasn't seeing this until I recreated my python environment a couple of days ago, and I didn't think to save what my previous env versions were. Perhaps something has changed in the last couple of months to cause this?Sometimes it doesn't seem to affect the actual code from running but is somewhat annoying as it keeps spewing the error message out. Other times it seems to fail.
tobac version: 1.5.1
xarray version: 2023.11.0
iris version: 3.4.1
My dataset (has worked on this size of dataset before):
Code for feature detecting:
Error:
Things I have tried: reverting to earlier versions of tobac and reverting to an earlier version of xarray -> no luck getting it to go away so far.
The text was updated successfully, but these errors were encountered: