I have a hdf5 file, and I want to extract a part of the data and save it as the same format.
The data type is
So far I have successfully extracted the data using h5dump but it is in ascii format. I couldn't save it as the same hdf5 format. I saw there are several flags for saving as xml formats, but it doesn't work for me. I have tried using flags like -x or -d such as
h5dump -d variable -s 1 10 -X output.file input.file
It creates the output file, but it is an empty file.
edit: I need to do it using h5dump.