Hi Rhys,
I would like to ask for a clarification:
Do you mean to overwrite just the data of an existing dataset?
or
Do you mean to change even its metadata? E.g., dataset1 is a {10, 10} array of
integers
and you want to change it to a {128, 128} array of floating points.
-Albert Cheng
On Apr 28, 2014, at 10:58 AM, Rhys Ulerich <[email protected]> wrote:
> Would you please consider adding an "overwrite" or "clobber" flag to h5copy?
>
> Unless I've missed it, there's no way to overwrite a dataset with
> another unless the target is first removed. And, unless I've missed
> it, there's no out-of-the-box "h5rm" utility for accomplishing that
> forcing users to each roll their own (e.g. [1]). The use case I have
> in mind is transferring simulation settings or initial conditions from
> one file into another.
>
> Thanks,
> Rhys
>
> [1] https://github.com/RhysU/suzerain/blob/master/postproc/remove_hdf5.py
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org