Hi, all
Now I use NCL 6.0 on a macbook (X-Lion 10.7), and "cd_calendar" is a new function in NCL6.0.
I download two NC files (HadSST2_1850on.nc and CRUTEM4.nc) from the CRU
(http://www.cru.uea.ac.uk/cru/data/temperature/ ). When I do as follow
" f1 = addfile (" HadSST2_1850on.nc","r")
f2 = addfile("CRUTEM4.nc',"r")
t1 = f1->time
t2 = f2->t
yyyymm1 = ut_calendar(t1,-1)
yyyymm2 = ut_calendar(t2,-1) "
I get
" warning:ut_calendar: Invalid specification string. Missing values will be returned.
(0) HadSST2 : from 185001 to 201202
(0) CRUTEM4 : from -2147483647 to -2147483647
However, When I use the " cd_calendar" to replace the " ut_calendar" , as the following
" yyyymm1 = cd_calendar(t1,-1)
yyyymm2 = cd_calendar(t2,-1) "
I get
(0) HadSST2 : from 185001 to 201202
(0) CRUTEM4 : from 184912 to 201011
We can see one month lag at the beginning between two data , which is inconsistent with the instruction
on the webpage http://www.cru.uea.ac.uk/cru/data/temperature/ . According to the webpage, both data should
start at the same time,
Thanks!
Lin
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Apr 8 01:11:17 2012
This archive was generated by hypermail 2.1.8 : Mon Apr 09 2012 - 13:43:03 MDT