Hi you all!<div><br></div><div>I am trying to use the values obtained for a defined variable within an if/endif construction, but it appears that the script does not read in fact every value (which must be compared with a certain threshold).</div>
<div><br></div><div>Any suggestion for that?</div><div><br></div><div>I will much appreciate.</div><div><br></div><div>Eduardo.</div><div><br></div><div><br></div><div>PS: E.g. of what I want to do: to count the numbers of days when the defined variable is below or over a threshold:</div>
<div><br></div><div>j=1</div><div>i=0</div><div>while (j < 31)</div><div>'set t 27'</div><div>'set lat 0'</div><div>'set lon 0 360'</div><div>'define vmerid=ave(vwnd(t='j'), lat=0, lat=10)'</div>
<div>v='vmerid'</div><div>if (vmerd >= 5.0 & vmerid <= 5.0)</div><div> i=i+1</div><div>endif</div><div>enwhile</div><div><br></div><div><br clear="all"><br>-- <br><br><a href="mailto:eduardo.agosta@conicet.gov.ar">eduardo.agosta@conicet.gov.ar</a><br>
<a href="mailto:eduardo_agosta@uca.edu.ar">eduardo_agosta@uca.edu.ar</a><br>
</div>