hdf5_to_netcdf.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:process-ocean-color 作者: shaief 项目源码 文件源码
def convert_hdf5_to_netcdf4(input_file, output_file):
    ds = xr.open_dataset(input_file)
    chl = ds['chlor_a'].to_dataset()
    chl.to_netcdf(output_file, format='NETCDF4_CLASSIC')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号