grads scripting question
Sytske Kimball
SKimball at USOUTHAL.EDU
Mon Apr 6 18:11:03 EDT 2009
Dear grads users,
I want to perform an action (write out a name) depending on the value of a grads data variable.
In other words, I have a grads data file that contains a code number for the name of a location.
In my control file I have the variable stationID and I want to do the following:
set t 1
set x 1
set y 1
set z 1
if (stationID=101)
'draw string 1 1 Pascagoula'
endif
if (stationID=201)
'draw string 1 1 Agricola'
endif
The above does not work, can anyone tell me how to do this?
Thanks in advance,
Sytske
Sytske Kimball
Associate Professor of Meteorology
Dept. of Earth Sciences
University of South Alabama
Mobile, AL
phone (251) 460-7031
fax (251) 460-7886
email skimball at usouthal.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090406/36fcea14/attachment.html
More information about the gradsusr
mailing list