You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Numpy in google colab is a couple versions out of date which causes these issues. At the top of your notebook you can add a !pip install --upgrade numpy==1.22.4 pyhdf which seems to satisfy the rest of the environment and work for the built distribution of pyhdf. You'll have to restart the runtime though to replace the auto-imported numpy. Colab will warn about this.
What version of pyhdf, HDF4, and Python are you using?
pyhdf version: 0.10.5
HDF4 C library version: libhdf4-4.2.13
Python version: 3.8.16
What operating system are you using?
GNU/Linux (Google Collab)
What did you do?
What did you expect to see?
The import is successful
What did you see instead?
The import breaks with:
The text was updated successfully, but these errors were encountered: