copy_h5_nodes
- lstchain.io.io.copy_h5_nodes(from_file, to_file, nodes=None)
Copy dataset (Table and Array) nodes from
from_file
toto_file
.- Parameters:
- from_file: tables.File
input h5 file opened with tables
- to_file: tables.File
output h5 file opened with tables, must be writable
- node_keys: Iterable[str]
Keys to copy, if None, all Table and Array nodes in
from_file
are copied.