comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Problem reading HDF5
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Problem reading HDF5 [message #88450] Sun, 27 April 2014 23:34 Go to previous message
KCotar is currently offline  KCotar
Messages: 1
Registered: April 2014
Junior Member
I am trying to read an image inside HDF5 file. According to the IDL Reference this should be pretty straight forward using the following code.

file = '***.HDF5'
fileId = H5F_OPEN(file)
ndviDataset = H5D_OPEN(fileId, '/LEVEL3/NDVI/NDVI')
ndviImage = H5D_READ(ndviDataset)
H5F_CLOSE, fileId

When running this code, I always get error: H5D_READ: can't read data: Object ID:83886129

The same thing happens if I try to open the image using graphical interface H5_BROWSER(file). Any idea what is wrong? It looks like broken data, however
HDFView can open it without read error.

Thanks.
[Message index]
 
Read Message
Read Message
Previous Topic: Incrementing an element multiple times without a loop?
Next Topic: FFT and Parseval

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:14:55 PDT 2025

Total time taken to generate the page: 0.95934 seconds