Project

General

Profile

How we can mosaic HDF files in CDO

Added by nazanin tavakoli about 2 years ago

Hello,
I have several HDF files which are in the global domain, and I want to mosaic them. Is it possible to do that in CDO?

Thank you


Replies (3)

RE: How we can mosaic HDF files in CDO - Added by nazanin tavakoli about 2 years ago

Hi Karin,
It does not work.

cdo collgrid MOD.hdf MOD1.hdf test.hdf

cdo collgrid: Open failed on >MOD.hdf<
Unsupported file type

Do you know how I can convert HDF5 files to NetCDF? Maybe after converting to NetCDF, I can mosaic them.

RE: How we can mosaic HDF files in CDO - Added by Karin Meier-Fleischer about 2 years ago

If the HDF5 file contains groups CDO won't be able to work with it (although when converted to netCDF).

Convert HDF5 to netCDF with nccopy from NCO:

nccopy <your-hdf-file> <output-netcdf-file>
    (1-3/3)