<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>    I am new to GrADS and came across an issue that has given me quite some frustration. I am writing a script that calculates the temperature difference between two levels at each point within a region and then displays the values in the terminal (my script is indented to do more than this but the root of my issue arises from here). The problem is that the terminal displays the literal value of T_Diff (i.e " 'tc(Lev = 800) - tc(Lev = 700)' ", and not 15,18,22,etc... (for example)). Here is my code:</div><div><br></div><div>(open file and setup basic graphics output formatting)</div><div><br></div><div>TheLat = 31  <br></div><div></div><div>while(TheLat >=31 & TheLat <=37.5)</div><div>'set Lat 'TheLat</div><div>TheLong = -115</div><div>    while (TheLong>=-115 & TheLong<=-108)</div><div>        'set Lon 'TheLong<br clear="all"><div>        T_Diff = 'tc(Lev = 800) - tc(Lev = 700)'  <br></div><div>        say T_Diff</div><div>        TheLong = TheLong + 0.5<b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div><div>    endwhile</div><div></div><div></div><div>TheLat = TheLat + 0.5</div><div>endwhile</div><div><br></div><div>Perhaps this issue is a simple syntax error, perhaps it is a logic error, either way I am here to figure that out, any help would be greatly appreciated!</div><div><br></div><div><br></div><div dir="ltr"><div dir="ltr">-Thank you,<br></div><div dir="ltr"><div>Jon</div></div></div></div></div></div></div>