Re: fatal:ut_inv_calendar: Invalid specification string

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jul 28 2011 - 09:01:34 MDT

Robert,

Can you type the following and send me all the output:

   ncl -V
   which ncl
   ncargpath udunits
   ncargpath lib
   ls -l `ncargpath udunits`
   env | grep NCARG

I think there's something in your environment that's causing NCL to find the UDUNITS file somewhere else.

--Mary

On Jul 28, 2011, at 7:15 AM, Robert Schuster wrote:

> Dear NCL team,
>
> I have a problem with the ut_inv_calendar function. It works without any problems on Mac OS X, but it produces the following error on Linux:
>
> Copyright (C) 1995-2011 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.0.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> ncl 0> refstr = "seconds since 2006-08-19 12:00:00"
> ncl 1> print(ut_inv_calendar(2006,08,19,12,0,0,refstr,0))
> fatal:ut_inv_calendar: Invalid specification string
> fatal:Execute: Error occurred at or near line 1
>
> I don't have an UDUNITS_PATH environment variable set, and setting UDUNITS2_XML_PATH to $NCARG_ROOT/lib/ncarg/udunits/udunits2.xml don't helps.
>
> Any suggestions?
>
> Robert
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 28 09:01:42 2011

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2011 - 08:44:18 MDT