[Thread Prev][Thread Next][Index]

how to average months and then make the time series



Dear Ferret Users,

I have netcdf data looks like :


--------------------------------------
currently SET data sets:
1> ./concat_tovs_data.cdf (default)

name title I J K L

CO2 CO2 concentration 1:360 1:180 ... 1:49
---------------------------------------

The data is on monthly interval.



Now if I run the following script :

*********************
*********************
use concat_tovs_data.cdf

set window/size=0.9
set window/aspect=1.7
ppl AXLSZE , 0

plot/nolab/vlim=300:360:5 CO2[x=@ave,y=25:20@ave,l=1:49]
plot/nolab/vlim=300:360:5/ov CO2[x=@ave,y=20:15@ave,l=1:49]-5
plot/nolab/vlim=300:360:5/ov CO2[x=@ave,y=15:10@ave,l=1:49]-10
plot/nolab/vlim=300:360:5/ov CO2[x=@ave,y=10:5@ave,l=1:49]-15
plot/nolab/vlim=300:360:5/ov CO2[x=@ave,y=5:0@ave,l=1:49]-20
plot/nolab/vlim=300:360:5/ov CO2[x=@ave,y=0:-5@ave,l=1:49]-25

************************
*********************

ferret plots the nice time series month by month ordered by 5 degree latitude interval.


Now what I want to do next :-

First I want to average each three month and then I want to plot three monthly averaged time series. Average something like following :

l=1:3@ave
l=4:6@ave
l=7:9@ave
........
.....
..
l=47:49@ave




Therefore how to average first three month and then next three month and
then next .............. and then plot the above time series.


Kindly help!!!!!!!!!!!!!


Thanks in advance,

Regards,
Yogesh

--

===========================================
Yogesh K. Tiwari,
Max-Planck Institute for Biogeochemistry,
Postfach 10 01 64, D-07701 Jena,
Germany

Office : +49 3641 576376
Fax : +49 3641 577300
Home : +49 3641 672232
Mobile : +49 1736988789
e-mail : yogesh.tiwari@bgc-jena.mpg.de
===========================================



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement