try h5repack with "-L", use latest version of file format.

did you try h5dump -H to see if you can open the file?

Thanks
--pc

On 2/12/2013 2:49 PM, Slava Mazur wrote:

*From:*Slava Mazur
*Sent:* Tuesday, February 12, 2013 2:22 PM
*To:* '[email protected]'
*Subject:* h5ls: unable to open file

Greetings,

From time to time I have a problem with reading hdf5 file created with 1.8.2 api. After several updates it occasionally becomes unusable.

When I try h5ls -v <file name> it gives me: unable to open file. Strangely enough, but when I try to open it in HDFViewer it opens and I can view the content.

Is there a way to restore the file? It contains about 500M of data and it's rather painful to recreate it.

In general, can you give any instructions on how to restore a corrupted hdf5 file?

Thanks,

Slava Mazur



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to