$ sudo apt install hdf5-tools
h5debug test.h5
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140359847631744:
#000: ../../../src/H5F.c line 579 in H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file
#001: ../../../src/H5Fint.c line 1208 in H5F_open(): unable to read superblock
major: File accessibilty
minor: Read failed
#002: ../../../src/H5Fsuper.c line 273 in H5F__super_read(): file signature not found
major: File accessibilty
minor: Not an HDF5 file
cannot open file
f = h5py.File(filename,'r')
f.close()
--
You received this message because you are subscribed to the Google Groups "h5py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h5py+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/h5py/88d00c60-73ee-431d-a41e-4700367a01a4o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "h5py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h5py+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/h5py/f46e45e2-5334-4360-9424-ddc41b06d4b7o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to h5...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to h5py+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/h5py/b023be84-a687-4819-8aad-6aa2038d8263o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/h5py/CAOvn4qiA6mBuwE6J-XW%3DNTktucfyb42Yw0K7fuiBCCOsS4NJJA%40mail.gmail.com.
On Jun 8, 2020, at 12:19 PM, Valentyn Stadnytskyi <v.stad...@gmail.com> wrote:
Yeah. The reason I start this thread is a corrupted file. I don’t know how that happened. I kept it on Dropbox in online only mode. Is it possible it got corrupted during transfer? Has anyone experienced file corruption by Dropbox?
But in any-case, I am trying to figure out how to recover the file. I have opened it as text file and I could open it in Python with open(filename, ‘rb’) But I am not sure if I can fix anything inside this way. Also, I have looked on the web but I can’t really find any good instructions. Today, I installed Conda on my Mac and something did not get installed right because I don’t have Conda in my terminal but I was able to open anaconda navigator and I tried to import hdf5 and it says package doesn’t exist. See below. It is confusing on how I am supposed to use HDF5 tools.
Jupyter QtConsole 4.6.0Python 3.7.6 (default, Jan 8 2020, 13:42:34)Type 'copyright', 'credits' or 'license' for more informationIPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.
import h5py
import hdf5---------------------------------------------------------------------------ModuleNotFoundError Traceback (most recent call last)<ipython-input-2-5a2a3b48ef54> in <module>----> 1 import hdf5
ModuleNotFoundError: No module named 'hdf5'
h5py.__version__Out[3]: '2.10.0'
<PastedGraphic-2.png>
To view this discussion on the web visit https://groups.google.com/d/msgid/h5py/4D845C5E-744D-44AF-B55A-DBCCA7E2B0E6%40gmail.com.
On Jun 8, 2020, at 1:19 PM, Valentyn Stadnytskyi <v.stad...@gmail.com> wrote:
Yeah. The reason I start this thread is a corrupted file. I don’t know how that happened. I kept it on Dropbox in online only mode. Is it possible it got corrupted during transfer? Has anyone experienced file corruption by Dropbox?
But in any-case, I am trying to figure out how to recover the file. I have opened it as text file and I could open it in Python with open(filename, ‘rb’) But I am not sure if I can fix anything inside this way. Also, I have looked on the web but I can’t really find any good instructions. Today, I installed Conda on my Mac and something did not get installed right because I don’t have Conda in my terminal but I was able to open anaconda navigator and I tried to import hdf5 and it says package doesn’t exist. See below. It is confusing on how I am supposed to use HDF5 tools.Jupyter QtConsole 4.6.0Python 3.7.6 (default, Jan 8 2020, 13:42:34)Type 'copyright', 'credits' or 'license' for more informationIPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.import h5pyimport hdf5---------------------------------------------------------------------------ModuleNotFoundError Traceback (most recent call last)<ipython-input-2-5a2a3b48ef54> in <module>----> 1 import hdf5ModuleNotFoundError: No module named 'hdf5'h5py.__version__Out[3]: '2.10.0'
<PastedGraphic-2.png>