[Thread Prev][Thread Next][Index]

[ferret_users] extra point after monthly average



Hi Ferret users:

I have a script (below) to average daily data from 1984 to 1992 to monthly mean output. I should have 9(yr)*12 =108 data points after averaging. However, I got 109 points. I wonder why there is an extra point? My daily data has 3288 data points, and 3288/30.4375
gives me 108 points on monthly basis.

>>>>>
use "salt_ave_daily.cdf"

define axis/calendar=julian/t="15-jan-1984:12:00:00":"15-dec-1992:12:00:00":`365.25/12`/units=days monthlytax
define grid/x=xdeg/y=ydeg/t=monthlytax monthlygrd
let salt_mon=salt_ave[gt=monthlygrd@ave]
set mem/size=500
save/file=salt_mon.cdf salt_mon
<<<<<

Thanks very much for your help!

Zhen


--
This message has been scanned for viruses and dangerous
content by GMAO's MailScanner, and is believed to be clean.



[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement