From: Setareh Rahimi <setareh.rahimi_at_nyahnyahspammersnyahnyah>
Date: Wed Jul 31 2013 - 10:30:58 MDT

Dear all,

I use a data set in which time is base on udunits which is units of time
from a basedate. For example, days since 1800-01-01. In data file, time is
defined as string.when I run codes below I get an error saying : argument
type mismatch on argument (0) of yyyymm_time. I also tried integer, float
and double, but still got the same error. Please adice me how fix this

   year = yyyymm/100
   firstyr = year(0)
   lastyr = year(ntim-1)
   nyear = lastyr-firstyr+1
   yyyymm = yyyymm_time(firstyr,lastyr , "string")

Thank you in advance.


ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Jul 31 10:31:07 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 01 2013 - 15:55:03 MDT