[Thread Prev][Thread Next][Index]

[ferret_users] How to extract DJF average time series from a monthly time series?



Dear ferreters,
������ I want to extract the DJF months time series in the following format.
������ 15-dec-1980
������ 15-jan-1981
������ 15-feb-1981
������ 15-dec-1981
������ 15-jan-1982
������ 15-feb-1982
������������ ----
�������� and so on
I tried to follow the examples in archives, provided by Jaison Kurian and Ansley which are for extracting JJA months and i could not get time series for DJF months though making some changes to the scripts. Hope someone will help me in this connection.��� Ansley's� Scripts as follows
--------------������ -----------------����������� ---------------------------------------���������� ------------------------------------------

use monthly_navy_winds
let nmon = `uwnd,return=Lend`
let tt = t[t=1:`nmon`]
let june = if mod(tt,12) ge 6 then tt
let june_aug = if mod(june,12) le 8 then june
list june_aug

! The number of summer months.
let nja = `june_aug[t=@ngd]`

let just_summer = compressl(june_aug)
list just_summer[L=1:`nja`]

! Now sample the Lth point of uwnd for the summer months
let uwnd_jja = samplel(uwnd,just_summer[l=1:`nja`])

! Define a calendar axis containing these months.
def axis/t0="`uwnd,return=t0`"/units="months" tsummer = just_summer[l=1:`nja`]

! Put the sampled summer data on the calendar axis
let uwnd_summer = uwnd_jja[gt=tsummer@asn]
list/x=180/y=0 uwnd_summer

--------------------------------------------------------------- end of script --------------------------------------------------------------------------------------------------

Thanks in advance,




--
Steeven Paul Y
Research Fellow
NIO RC Vizag
176 Lawsons Bay Colony
Visakhapatnam - 530017

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement