Hello,
I have a problem with the function : yyyymmdd_to_yyyyfrac
It reads an extra day 32 of each month. here is my test :
----- input file
20071227 2.4076 0.0019 0.0011 0.0030 0.0007 0.0031
20071228 2.3876 0.0019 -0.0016 0.0031 0.0044 0.0031
20071229 2.3867 0.0019 -0.0037 0.0030 0.0030 0.0030
20071230 2.3808 0.0021 -0.0028 0.0031 0.0048 0.0034
20071231 2.3821 0.0019 -0.0033 0.0030 -0.0002 0.0031
----- result :
Variable: yrfrac
Type: float
Total Size: 20 bytes
5 values
Number of Dimensions: 1
Dimensions and sizes: [5]
Coordinates:
Number Of Attributes: 3
long_name : Time
units : YYYY + fractional portion of year
info : derived using: function yyyymmdd_to_yyyyFrac
(0) 2007.99
(1) 2007.99
(2) 2007.99
(3) 2007.996
(4) 1979.604
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 29 09:30:27 2010
This archive was generated by hypermail 2.1.8 : Tue Jan 04 2011 - 09:16:52 MST