Hi Sergey,
On Apr 29, 2010, at 9:07 AM, Sergey Spiridonov wrote:
> Hi
>
> I need to copy relative big compressed dataset from one hdf5 to another.
> Simple straight way is to open source hdf5 file, read dataset, open
> target file and write dataset there.
>
> One problem here is that if dataset is compressed, it must be
> decompressed when read and compressed again when written.
>
> Is there a way to read and write dataset without
> decompression/compression, as a raw blob of data? So, that
> decompression/compression can be avoided in my case?
Use H5Ocopy()
(http://www.hdfgroup.org/HDF5/doc/RM/RM_H5O.html#Object-Copy)
Quincey
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org