目录
HDF文件及信息查看
Hierarchical Data Format 层次型资料格式
很好用的信息查看软件:HDFview
PyTables
官网:Welcome to PyTables’ documentation! — PyTables 3.7.0 documentation
user guide: PyTables User’s Guide — PyTables 3.7.0 documentation
import matplotlib.pyplot as plt
from tables import *
f="D:\Download\D202107180081468319/FY3C_MERSI_GBAL_L1_20150529_0210_0250M_MS.HDF"
h5file=open_file(f, 'r')
for group in h5file.walk_groups():
print(group)
for node in h5file:
print(node)
dt= h5file.root.Data.EV_250_RefSB_b3 #(CArray(8000, 8192), zlib(5))
plt.contour(dt)
plt.show()