[Thread Prev][Thread Next][Index]
[ferret_users] different results when calculate climatology
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] different results when calculate climatology
- From: ferret ocean <ferretocean@xxxxxxxxx>
- Date: Tue, 23 Jan 2007 09:44:39 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Tz9Ex36pinwo9rSEYl98jWNBsga3nAjL2/OVrfj4VFGlHB8mjZ/IMa4dkvhSyJzNR3YzKyQ+m4hlff/bD/yZr1mfXNfup7PkDmFodg7+sIBIqkMsXW05Sf+53YWP9Xc62ZU+J4rcsF3a+544g0TJfoPnH5P+wJcLADwozjtkm78=;
- Sender: owner-ferret_users@xxxxxxxxxxxxx
Dear ferreters,
The following script provide two ways to calculate climatology. But I am confused with different results.
use atl.nc
set reg/y=43
show data
V Meridional Component of Velocit 1:61 1:31 1:23 1:156
U Zonal Component of Velocity 1:61 1:30 1:23 1:156
climatological_axes
CANCEL DATA climatological_axes
let v_clm = v[gt=month_reg@MOD]
! the first way to get Jan climatology
fill v_clm[l=1]
! the second way to get Jan climatology (the most stupid way)
let a=v[l=1]+v[l=13]+v[l=25]+v[l=37]+v[l=49];
let b=v[l=61]+v[l=73]+v[l=85]+v[l=97]+v[l=109];
let c=v[l=121]+v[l=133]+v[l=145]
let tt=(a+b+c)/13
fill tt
Of course, it has the similar results between the figure of "fill v_clm[l=1]" and that of "fill tt", but still different.
Why? The calendar of the data is Gregorian, it might be the reason?
Dawn
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement