[Thread Prev][Thread Next][Index]

[ferret_users] Climatology for each month at hourly resolution



Hi,
I am trying to include the diurnal cycle (which changes seasonally) in a climatology.  I have 11 years of data, and am trying to calculate the average diurnal cycle in each month.  I'm having trouble figuring out the best way to construct this loop in Ferret, though.  I think there should be a way to call VAR[t="1-jan-'YEAR' 00:00:00":"31-jan-'YEAR' 23:00:00], where you loop through the 11 years in variable YEAR.

This is the error I am getting:

repeat/range=2004:2014/name=m (let januaries=alb[t="1-jan-'m':00:00:00":"31-jan-'m':23:00:00":1];save/append/file=jan.cdf januaries)

!-> REPEAT: M:2004

 **ERROR: command syntax: 1-jan-'m':00:00:00

LIST/FORMAT=CDF/append/file=jan.cdf januaries

Command file, command group, or REPEAT execution aborted



I appreciate any help or other ideas!


Allison

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement