Search code examples
pythonrhdf5cdo-climatencl

Convert hdf5 to netcdf4 in bash, R, python, cdo or NCL?


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, cdo, NCL or python ?


Solution

  • with netcdf-c library you can:

    $ nccopy in.h5 out.nc