how to define the time

From: Ziqiang Jiang <zqjiang86_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 15 2012 - 11:38:17 MST

Hello, how to use the time_axis_labels? is the variable 'resplot' not ok? load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/time_axis_labels.ncl"
time = 0
time@units = "days after 2011-06-01 00:00:00"
resplot = True
restick = True
restick@ttmFormat = "%n/%D"
restick@ttmValues = (/(/2011,6,1,0,0,0/), (/2011,6,16,0,0,0/), (/2011,6,26,0,0,0/)/)
time_axis_labels(time,resplot,restick)
print(resplot)) Variable: resplot
Type: logical
Total Size: 4 bytes
            1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
Number Of Attributes: 4
  tmXBMode : Explicit
  tmXBValues : ( -1.888435154778767e-13, 14.99999999999981, 24.99999999999981 )
  tmXBMinorValues : ( -1.888435154778767e-13, 14.99999999999981, 24.99999999999981 )
  tmXBLabels : ( 6/01, 6/16, 6/26 )
(0) True Thanks

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 15 11:38:31 2012

This archive was generated by hypermail 2.1.8 : Fri Feb 17 2012 - 08:50:10 MST