Closed nkorinek closed 1 year ago
This is not an error, just a warning about some incompatibility between HDF5 libraries. I also started getting these warning about a month ago. I still haven't figured out exactly which version of h5netcdf
causes this issue, since I haven't had time to dig into it much. Maybe you can try downgrading h5netcdf
and h5py
libraries.
Alright, I figured out the issue. I created a new env using:
mamba create -n 3d 'py3dep<0.14' 'pygeoogc<0.14' 'pygeoutils<0.14' 'hdf5<1.12.2'
Then, I ran your example and didn't get any warning. I checked the release date of hdf5
and it was one month ago!
So, you can either ignore these warnings for now and continue using the latest versions until a new hdf5
version with a fix is released, or you can downgrade hdf5
and other HyRiver packages to previous versions. Note that, unfortunately, many geospatial packages including gdal
and shapely
depend on hdf5
, so when you downgrade it you'd have to use shapely<2
which means that you cannot use HyRiver packages 0.14+ since they do not support shapely<2
.
Awesome, that is some great trouble shooting here! I appreciate the update, not sure if you want me to close the issue or if you'd like to, but that answers my question!
Sure! For now, let's keep this open, just in case any other user gets the same error, know what to expect.
What happened?
When running a request to get 3dep data (that was working fine before), an error was thrown by what seems to be the API related to the HD5 file that was there. The data is still present and accessible, but the error output is large and isn't caught by
stdout
orstderr
traps. This issue wasn't present last week, but I did reinstall my conda environment so I'm not sure if that's the issue...I'm using version0.14.0
of py3dep. I've included a gist here showing the error, if there's a dependency mismatch that leads to this let me know! https://gist.github.com/nkorinek/2ced03efee446765bc2442e3208ac7e0Thanks y'all
What did you expect to happen?
I expected the code to retrieve the data without throwing an error for the HDF.
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
No response
Environment