>
> ut_inv_calendar seems to work part of the time, then fail in the
> following stand-alone code. I'm using NCL Version 4.2.0.a030 on a unix
> platform.
>
> do year = 1981, 1985
> t_units = "hours since 1800-1-1 0:0:0"
> t1 = ut_inv_calendar (year, 11, 15, 0, 0, 0, t_units, 0)
> print (year + " t1 = " + doubletointeger (t1))
> end do
>
> This outputs:
>
> (0) 1981 t1 = 1594248
> (0) 1982 t1 = 1603008
> Segmentation fault
>
> With the print statement commented out, I get something different:
>
> fatal:ut_inv_calendar: Invalid specification string
>
> Any ideas??
>
> --Dave
Hi Dave,
I discovered the problem, and have fixed it. It will be in the next
release of NCL (a031) which I don't have a date for yet. I'm hoping it
will be in the next couple of weeks.
Meanwhile, if you want to try the fixed version, send me a personal
email and tell me what kind of system you have.
Thanks for reporting this.
--Mary
-------------------------------------------------
Mary Haley haley AT ucar.edu
NCAR/SCD/VETS 303-497-1254 (voice)
1850 Table Mesa Dr 303-497-1804 (fax)
Boulder, CO 80305
-------------------------------------------------
_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Wed Dec 03 2003 - 09:32:26 MST