Project

General

Profile

combine and average different nc files

Added by jay qiu over 7 years ago

Hi, I would like to combine and average several .nc files

all nc files are in the same grid points, same parameter name. same timesteps.

what I am looking for is to find a command to average those files.

I have some netcdf files of same variable, same grid size, same time steps and same dimensions for the same area also. What i want is to average those netcdf files on a gridded basis. I tried several options of concatenating the nc files. But i am not getting my results. Can you help me with the commands and coding to average those files.

Thanking in anticipation,


Replies (2)

RE: combine and average different nc files - Added by Gereon Gollan over 7 years ago

try:
cdo ensmean ifiles ofile

best regards!
Gereon

RE: combine and average different nc files - Added by jay qiu over 7 years ago

Hi Gereon, thank you very much, it works!

    (1-2/2)