Re: providing args to NCL script

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 06 2011 - 15:52:01 MDT

http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/

Click: Command line options and arguments

ncl lat=32.5 lon=-106.2 extractWRFparams.ncl

On 10/6/11 3:48 PM, steve kirby wrote:
> Hi,
> I was wondering if I can pass arguments to a NCL script when it is called?
> For example, "ncl extractWRFparams.ncl 32.5 -106.2", i.e., I have
> latitude,longitude as args, for where I want the WRF data interpolated to.
> And if so, how are they recognized in the NCL script (in shell script it
> would be $1 and $2)?
> --Steve
>
>
> _______________________________________________
> 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 Oct 6 15:52:07 2011

This archive was generated by hypermail 2.1.8 : Sun Oct 09 2011 - 13:05:26 MDT