Hi Xuguang,
Unless I missed it, I don't think anyone replied to you. I believe
clmDayTLL and calcDayAnomTLL are working as you thought they are. You
can test this yourself by passing in a daily timeseries for one point
and examine the input data and the output data from calcDayAnomTLL.
I took a look at the coding for both functions by looking at :
$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
and all looks right to me.
Adam
On 08/20/2010 06:50 PM, Xuguang Sun wrote:
> Hi, everyone,
>
> I'm now trying to calculate the mean annual cycle and anomalies from daily data, and it's very good that NCL has such functions, like clmDayTLL and calcDayAnomTLL, but I'm not very clear about their detail processes.
>
> I have multi-year daily data with leap and non-leap years included, that means there are 365 days in non-leap years and 366 days in leap years, and whether 29Feb is included or not is their only difference. If we want to calculate climatological daily mean, I think the right method is to add the corresponding day of each year (for example, 28Feb) together and then divide it by the total year number. Especially, as for 29Feb, because it only exists in leap years, we can simply sum them up and then divide it by the leap year number. By the above processes I think we can obtain the correct climatological daily mean (annual cycle). Accordingly, we can get the daily anomalies by subtracting the climatological daily mean from the multi-year daily data.
>
> I don't know whether clmDayTLL and calcDayAnomTLL do the same things for daily climatology and anomaly. Does anyone have some ideas?
>
> Thanks.
>
> Best regards,
>
> Xuguang SUN
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- __________________________________________________ Adam Phillips asphilli@ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 Climate and Global Dynamics Division fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Mon Aug 23 10:34:15 2010
This archive was generated by hypermail 2.1.8 : Wed Aug 25 2010 - 11:50:26 MDT