Re: ut_calendar problem

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Oct 09 2013 - 14:27:27 MDT

Dear Xuguang,

First, "ut_calendar" is considered deprecated. I recommend using "cd_calendar" which takes the same arguments.

Back to "ut_calendar": V6.1.2 of NCL should have that old issue fixed.

I think the error you're getting is because you have a time units that ut_calendar doesn't recognize.

What is time@units set to?



On Oct 7, 2013, at 2:13 PM, xgsun <> wrote:

> Hi all,
> I download the latest version of pre-compiled ncl 6.1.2, and when I run the ut_calendar() function, there came out a warning:
> warning:ut_calendar: Invalid specification string. Missing values will be returned.
> I searched such warning on the internet, and understood that it must have something to do with the path of udunits.dat.
> According to the answers to the previous similar question, I explicitly set UDUNITS2_XML_PATH and unset UDUNITS_PATH like the followings,
> setenv UDUNITS2_XML_PATH $NCARG_ROOT/lib/ncarg/udunits
> unsetenv UDUNITS_PATH
> however, it still didn't work. Then I've no idea about this problem.
> Could someone help me solve it?
> Thanks a lot.
> Best regards,
> Xuguang Sun
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Oct 9 14:27:47 2013

This archive was generated by hypermail 2.1.8 : Tue Oct 22 2013 - 10:35:27 MDT