Dear NCL users
I could run NCL like this:
ncl 'infile="wrfout_d01_1994-01-11_00:00:00.nc"' my_script.ncl
And I want to use it in a c-shell script
for example:
set inf=wrfout_d01_1994-01-11_00:00:00.nc
then using $inf to represent the input file
I try as the below, but it doesn't work.
ncl 'infile= $inf ' my_script.ncl
Can one helps?
---my_script.ncl like this:---------
; a = addfile("wrfout_d01_1994-01-11_00:00:00.nc","r")
a = addfile(infile,"r") ; Here "infile" is a variable from the C-shell script
Thanks a lot in advance!
Mark
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Feb 1 07:07:35 2014
This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:11 MST