Re: User interaction

From: Sylvia Murphy (murphys AT XXXXXX)
Date: Fri Jul 26 2002 - 08:34:15 MDT


enomoto,

The way to connect the system and user input to NCL is through a script. Below
is an example of using csh.
http://www.cgd.ucar.edu/csm/support/Data_P/csh.shtml

The ncl function getenv will retrieve system environment variables set in a
script.

e.g.
in script:
setenv name $1

in ncl

filename = getenv("name")

etc.

This will not work in a cgi enviroment. For this we use python to translate
between a web form and ncl.

sylvia
******************************************************
Sylvia Murphy EML: murphys AT ucar.edu
NCAR CGD/CAS PHN: 303-497-1720
1850 Table Mesa Dr FAX: 303-497-1333
Boulder, CO 80305
                                
WEB: http://www.cgd.ucar.edu/csm/support/
     http://www.cgd.ucar.edu/csm/support/CSM_Graphics/
          
******************************************************

_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Fri Jul 26 2002 - 10:41:19 MDT