MAC
Darwin bantrybay-2.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29
15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
%> ncl
Someone else will have to answer this question but 'for-the-record'
=============
NCAR Command Language Version 6.0.0-26Apr2011_0235
ncl 0> a = 1303914836
ncl 1> a@units = "seconds since 1970-1-1 00:00:00"
ncl 2> b = ut_calendar(a,0)
ncl 3> print(b)
Variable: b
Type: float
Total Size: 24 bytes
6 values
Number of Dimensions: 2
Dimensions and sizes: [1] x [6]
Coordinates:
Number Of Attributes: 1
calendar : standard
(0,0) 2011
(0,1) 4
(0,2) 27
(0,3) 14
(0,4) 33
(0,5) 56
===========================
Linux mirage2 2.6.18-194.17.4.el5 #1 SMP Wed Oct 20 13:03:08 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux
also
Linux harmon.cgd.ucar.edu 2.6.18-238.9.1.el5.centos.plus #1 SMP Tue Apr
12 20:34:33 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
NCAR Command Language Version 5.2.1
ncl 0> a = 1303914836
ncl 1> a@units = "seconds since 1970-1-1 00:00:00"
ncl 2> b = ut_calendar(a,0)
ncl 3> print(b)
Variable: b
Type: float
Total Size: 24 bytes
6 values
Number of Dimensions: 2
Dimensions and sizes: [1] x [6]
Coordinates:
Number Of Attributes: 1
calendar : standard
(0,0) 2011
(0,1) 4
(0,2) 27
(0,3) 14
(0,4) 33
(0,5) 56
=======================
On 4/26/11 8:36 PM, Daniel Adriaansen wrote:
> b = ut_calendar(a,0)
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Apr 27 18:47:49 2011
This archive was generated by hypermail 2.1.8 : Tue May 03 2011 - 14:47:35 MDT