Re: bringing arguments into an ncl script

From: Sylvia Murphy (murphys AT XXXXXX)
Date: Thu Mar 01 2001 - 13:42:22 MST


matt,

you can indeed import your variables. Here are a few hints.

use setenv to define your variables in csh. you can not use set.

then in NCL, use the getenv function to read in your variable.

e.g.

in csh:

setenv nclfile data.nc

in ncl:

name = getenv("nclfile")

I have lots of examples of this if you need any.

cheers,

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/
          
******************************************************



This archive was generated by hypermail 2b29 : Tue Feb 19 2002 - 09:06:05 MST