[Thread Prev][Thread Next][Index]

Re: [ferret_users] Averaging multi variables



Thank you Mr. Saurabh,

After a long fight, your solution is what I need.

Best,
Saat M.

On Tue, Jul 23, 2019 at 9:47 AM saurabh rathore <rohitsrb2020@xxxxxxxxx> wrote:
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. 

let suppose you have files as sst1.nc sst2.nc sst3.nc ......... sstn.nc

you can do like this using the wild card in CDO.

cdo -r -f nc4 ensmean sst*.nc ensemble_mean_output.nc

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 " * " becau
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.









--


REGARDS

Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434

[Thread Prev][Thread Next][Index]