`.get()` fails for char array variable in v0.11
zmoon opened this issue · comments
Zachary Moon commented
What version of pyhdf, HDF4, and Python are you using?
pyhdf version: 0.11.3
HDF4 C library version: 4.2.15
Python version: 3.10.11
What operating system are you using?
Linux
What did you do?
from pyhdf.SD import SD
sd = SD("tolnet-hdf4-test-data.hdf")
sd.select("PRESSURE_INDEPENDENT_SOURCE").get() # e.g.
What did you expect to see?
Worked fine in pyhdf v0.10
What did you see instead?
ValueError: data type must provide an itemsize