Project

General

Profile

Adding three fields

Added by nazanin tavakoli over 3 years ago

Hello,
I have 3 NetCDF files that have 1104*559 cells, and I want to add their cells together. In the end, I want to have a NetCDF file that contains values of the first three netcdf files. Also, I have found the following code, but it just adds 2 NetCDF files.
cdo add prec1.nc prec2.nc precFinal.nc
Could anybody help me?


Replies (2)

RE: Adding three fields - Added by Karin Meier-Fleischer over 3 years ago

Without downloading your rar archive the syntax is

cdo -add file3.nc -add file1.nc file2.nc outfile.nc
    (1-2/2)