At this time, I don't think this is possible.
Usually, command line arguments [CLAs] are used:
===
ncl 'season="JJA"' foo.ncl
The ' are needed to escape the unix shell.
===
Another examples:
ncl nyrStrt=1900 nyrLast=1968 modelRun.ncl
The following contains more info amd more complicated examples:
http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclCLO.shtml
Joe Grim wrote:
> Hi,
>
> This probably seems like a simple question, but I can't find an answer
> to this problem anywhere on the NCL page. When running an NCL program,
> how does one ask the user for a value? For example, my program reads in
> a field for 5 seasons, but I want it to ask the user which season to
> plot. In FORTRAN I would just use the read function, but I can't find
> its equivalent for NCL. Could you help me out here?
>
> Thanks a lot!
>
> Joe Grim
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 09 2008 - 17:33:37 MDT
This archive was generated by hypermail 2.2.0 : Wed Sep 10 2008 - 07:38:41 MDT