<div class="gmail_quote">
<div>Hi, dear all,</div>
<div>�</div>
<div>Can collect, gr2stn(), and coll2gr() be applied to defined variables? I use the opengrads v2.0.a7.oga.3 little-endian version in�the MS Windows system.</div>
<div>�</div>
<div>&#39;define uu=ugrd&#39;����������������� ;*�� the ugrd is variable defined in ctl file</div>
<div>&#39;collect 1 free&#39;</div>
<div>i=0</div>
<div>while(i&lt;=10)</div>
<div>......</div>
<div>i=i+1</div>
<div>&#39;collect 1 gr2stn(uu,&#39;xlon&#39;,&#39;xlat&#39;)&#39;</div>
<div>......</div>
<div>endwhile</div>
<div>&#39;set x 1 &#39;i</div>
<div>&#39;d coll2gr(1,-u)&#39;</div>
<div>�</div>
<div>I got error message:</div>
<div>************************</div>
<div>Error from COLL2GR:� Invalid dimension environment<br>Operation Error:� Error from coll2gr function<br>DISPLAY error:� Invalid expression<br>� Expression = coll2gr(1,-u)</div>
<div>************************</div>
<div>�</div>
<div>But, the following is OK:</div>
<div>�</div>
<div>.....</div>
<div>&#39;collect 1 gr2stn(ugrd,&#39;xlon&#39;,&#39;xlat&#39;)&#39;</div>
<div>.....</div>
<div>&#39;d coll2gr(1,-u)&#39;</div>
<div>�</div>
<div>�</div>
<div>Thank you.</div>
<div>�</div><font color="#888888">
<div>MY</div></font></div><br>