Open slobodan-ilic opened 1 year ago
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: