HDFGroup / h5pyd

h5py distributed - Python client library for HDF Rest API
Other
110 stars 39 forks source link

Append option for hsload #120

Closed jreadey closed 2 years ago

jreadey commented 2 years ago

Currently hsload will overwrite any existing domain in the target path. A useful feature would be an append flag (-a, or --append) that would keep the existing content but add any objects from the source file to the target domain (preserving previous objects).

jreadey commented 2 years ago

Already implemented!

jreadey commented 1 year ago

Append options have been enhanced. Basically there are three types of append modes in hsload -a: 1) Path of new object doesn't conflict with target file, new object will be added to target 2) A dataset path exists in both source and target but will be extended with the new data, additional dimension may be created 3) For datasets using dimension scales, the --extend can be used to extend the dimension along the indicated dimension

1) was supported previously. 2) and 3) are added in the 0.12.0 release.