Hi Saat,
G'day
There is a function in CDO called as "ensmean" which can solve your problem if you want to average (ensemble mean) the variable/s.
you can do like this using the wild card in CDO.
here *.nc covers all the files that you want to average with the help of * wild card. You have to be careful while using wild card " * " because if you are using *.nc it will take all the netcdf files present in the folder. So better that you make a separate folder that contains only those files that you want to use for a particular operation.
this is the direct way to do mean of variable/s across multiple files.
let me know if this doesn't work. we will try something else also with the help of ferret.
fill/nolab/lev=(-inf)(23,32,2)(inf) ave/6
the error I get is
**ERROR: stack overflow
Any lead is much appreciate. Thank you
Saat M.