Re: syntax error

From: Saji N. Hameed <saji_at_nyahnyahspammersnyahnyah>
Date: Wed, 11 Feb 2009 13:17:04 +0900

* Guanghua Chen <fjfzcgh_at_gmail.com> [2009-02-11 11:26:04 +0800]:

> Hi
> When I use ut_calendar(nday,0), I define nday_at_units="days since $nyear-1-1". $nyear changes depending on my loop. It is a syntax error. How to revise?

What about using

   nday_at_units="days since "+nyear+"-1-1".

saji

> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
Saji N. Hameed
APEC Climate Center          				+82 51 668 7470
National Pension Corporation Busan Building 12F         
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705			saji_at_apcc21.net
KOREA
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 10 2009 - 21:17:04 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 12 2009 - 10:16:44 MST