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
TRMM_LIS_SC.04.3_2015.001.zip
I will start by saying that this is my first github post, so I apologize for my naivety, especially if this is not the right place for this post.
I am writing to see if anyone can possibly provide some insight on a problem I am having with loading some HDF4 data using python. I thought I had installed the python-hdf4 library as well as all the dependencies correctly (I didn’t get any errors). I followed the install instruction on the python-hdf4 page, namely:
Seemed fairly straightforward. However, when I load in the data, using
from pyhdf.SD import SD, SDC
Hdf = SD(FileName, SDC.READ)
, the dataset is empty. I have checked in Matlab that there is actually data in the files.
I assume it has something to do with the dependencies, but since I am not getting any errors, it may be difficult to diagnose. I have tried uninstalling and reinstalling all of the above libraries. I hope I am missing something.
I have attached an example file so that you can test it yourself.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered:
TRMM_LIS_SC.04.3_2015.001.zip
I will start by saying that this is my first github post, so I apologize for my naivety, especially if this is not the right place for this post.
I am writing to see if anyone can possibly provide some insight on a problem I am having with loading some HDF4 data using python. I thought I had installed the python-hdf4 library as well as all the dependencies correctly (I didn’t get any errors). I followed the install instruction on the python-hdf4 page, namely:
apt-get install python-dev python-numpy libhdf4-dev -y
pip install python-hdf4
Seemed fairly straightforward. However, when I load in the data, using
from pyhdf.SD import SD, SDC
Hdf = SD(FileName, SDC.READ)
, the dataset is empty. I have checked in Matlab that there is actually data in the files.
I assume it has something to do with the dependencies, but since I am not getting any errors, it may be difficult to diagnose. I have tried uninstalling and reinstalling all of the above libraries. I hope I am missing something.
I have attached an example file so that you can test it yourself.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: