调用官方自带例程
python -m tools.outputfiles_merge user_models/cylinder_Bscan_2D
python -m tools.plot_Bscan user_models/cylinder_Bscan_2D_merged.out Ez
没有问题
运行
import h5py
# dataExample_fromh5 = h5py.File('./model/cylinder_Bscan_2D_merged.out','r')#打开h5文件
dataExample_fromh5 = h5py.File('example_merge.out','r')
print(dataExample_fromh5.keys( ))
print(dataExample_fromh5.keys())
print(dataExample_fromh5.items())
输出