<DIV>Dear grads user,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want to use the zinterp.gs, isen.gs, pinterp.gs in grads. But when use the function according to the notes in each GS file. Something is wrong. The grads is corrupted.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I use the function like:</DIV>
<DIV><STRONG>'open diag.ctl'<BR>'define u320='isen(u,theta,lev,320)<BR>'define v320='isen(v,theta,lev,320)<BR>'set z 1'<BR>'set gxout stream'<BR>'d u320;v320;mag(u320,v320)'</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>Errors occur like:</DIV>
<DIV><STRONG>Syntax Error:&nbsp; Invalid Operand<BR>&nbsp; 'zgrid' not a variable or function name<BR>Operation Error:&nbsp; Error from maskout function<BR>&nbsp; Error ocurred at column 5<BR>DEFINE error:&nbsp; Invalid expression.<BR>Syntax Error:&nbsp; Invalid Operand<BR></STRONG>&nbsp; 'zgrid' not a variable or function name<BR>Operation Error:&nbsp; Error from maskout function<BR>&nbsp; Error ocurred at column 5<BR>DEFINE error:&nbsp; Invalid expression.<BR>Syntax Error:&nbsp; Invalid Operand<BR>&nbsp; 'zabove' not a variable or function name<BR>&nbsp; Error ocurred at column 1<BR>DEFINE error:&nbsp; Invalid expression.<BR>Syntax Error:&nbsp; Invalid Operand<BR>&nbsp; 'zbelow' not a variable or function name<BR>&nbsp; Error ocurred at column 1<BR>DEFINE error:&nbsp; Invalid expression.<BR>Syntax Error:&nbsp; Invalid Operand<BR>&nbsp; 'zabove' not a variable or function name<BR>Operation Error:&nbsp; Error from mean function<BR>&nbsp; Error ocurred at column 1<BR>DEFINE
 error:&nbsp; Invalid expression.<BR>Syntax Error:&nbsp; Invalid Operand<BR>&nbsp; 'zbelow' not a variable or function name<BR>Operation Error:&nbsp; Error from mean function<BR>&nbsp; Error ocurred at column 1<BR>DEFINE error:&nbsp; Invalid expression.<BR>Syntax Error:&nbsp; Invalid Operand<BR>&nbsp; 'zabove' not a variable or function name<BR>&nbsp; Error ocurred at column 18<BR>DEFINE error:&nbsp; Invalid expression.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 [main] grads 28148 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION</DIV>
<DIV>&nbsp; 23977 [main] grads 28148 open_stackdumpfile: Dumping stack trace to GradsDODS.<BR>dll.stackdump</DIV>
<DIV>&nbsp;</DIV>
<DIV>Why? Please help me.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Yours,</DIV>
<DIV>Zhang</DIV>
<DIV>&nbsp;</DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com