从所有组/数据集中删除HDF5中的特定索引,并以H5格式保存新数据
我想从我的hdf5
文件中的所有数据集中删除一些indices(行)
。
图片中给出了我的HDF5
的结构:
。
我每个组都有许多组和许多数据集。一些组的子组包含数据集。每个数据集中的行总数相同,因此我要删除的行的索引相同。我想保存具有与旧结构相同的结构的HDF5
文件。我找不到有效的方法或代码来执行此操作。
I want to delete some indices(rows)
from all the datasets in my HDF5
file.
The structure of my HDF5
is given in the picture:
.
I have a number of groups and a number of datasets in each group. Some groups have subgroups that contain the datasets. The total number of rows in each dataset is the same, so the indices of the rows I want to remove are the same. I want to save the HDF5
file with the same structure as the old one. I am unable to find an efficient way or code to do it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论