Project

General

Profile

netcdf merge

Added by pooran khedri about 6 years ago

Hello everybody,

I have downloaded the salinity data for a year, unfortunately, The data have downloaded in the 365 files separately, every file contains one day, I need to merge all of them.
could you please guide me what does that?

I am looking forward to any suggestions.

Best Regards,
Pooran


Replies (3)

RE: netcdf merge - Added by Karin Meier-Fleischer about 6 years ago

Use the mergetime operator. Have a look at the documentation.

-Karin

RE: netcdf merge - Added by pooran khedri about 6 years ago

Karin Meier-Fleischer wrote:

Use the mergetime operator. Have a look at the documentation.

-Karin

I would really appreciate your help.

RE: netcdf merge - Added by Karin Meier-Fleischer about 6 years ago

Assuming your data are netcdf files in the same directory:

cdo -mergtime *.nc outfile.nc

See CDO documentation.

-Karin

    (1-3/3)