Hi, all
I met a problem when dealing a netcdf file with NCL 5.1.1. The netcdf file is
"psl_A1_2001_2100.nc", downloaded from
"ftp-esg.ucllnl.org /data16/sresa1b/atm/mo/psl/csiro_mk3_5/run1/".
The time span from 2000-09-16 to 2100-07-23 when I browse this nc file with ncBrowse ,(www.epic.noaa.gov/java/ncBrowse/)
while it span from 200201 to 210112 when I use the following scripts of NCL.
data_path = "..."
sub_data_path = " ..."
datafilename = "psl_A1_2001_2100.nc"
fi = addfile(data_path + sub_data_path + data_filename, "r")
time = fi->time
yyyymm = ut_calendar(time,-1)
print(yyyymm)
print(yyyymm(0)) ; yyyymm(0) is 200201
By the way, I just update the ncl to version 5.1.1, and ncl 5.0.0 can not deal with
the "noleap" calendar type of this files.
Thanks!
Lin
2009-07-30
leo.aries.g
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jul 29 2009 - 10:37:10 MDT
This archive was generated by hypermail 2.2.0 : Fri Jul 31 2009 - 14:51:03 MDT