在bash,R,python或NCL中将hdf5转换为netcdf4? [英] Convert hdf5 to netcdf4 in bash, R, python or NCL?

查看:283
本文介绍了在bash,R,python或NCL中将hdf5转换为netcdf4?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种快速简便的方法可以从bash的命令行将HDF5文件转换为netcdf(4)?或者,一个简单的脚本可以在R,NCL或python中自动处理这种转换?

Is there a quick and simple way to convert HDF5 files to netcdf(4) from the command line in bash? Alternatively a simple script that handle such a conversion automatically in R, NCL or python ?

推荐答案

使用netcdf-c库,您可以:$ nccopy in.h5 out.nc

with netcdf-c library you can: $ nccopy in.h5 out.nc

这篇关于在bash,R,python或NCL中将hdf5转换为netcdf4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆