<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hello Grads users,</span></div><div><br><span></span></div><div><span>I want to assign </span><span>to the wind zonal wind</span><span> (at all vertical levels) the value 0&nbsp; at grid points where the precipitation is less than 10mm/day. I tried the following, but I have an error<br></span></div><div><span>-------------------------------------------------------------<br>'sdfopen /home/precis/wind/uwnd.nc'<br>'sdfopen /home/precis/precip/prate_Interp.nc'<br><br>'set lat -90 90'<br>'set lon -180 180'<br>'set lev 1000 100'<br>'set t 1 2'</span></div><div><span><br></span></div><div><span>'pre = prate.3*86400'<br>'p&nbsp;&nbsp; = const(maskout(uwnd.1,pre-1),0,-u)<br>----------------------------------------------------</span></div><div><span><br></span></div><div><span>Both </span><span>'uwnd.nc' and
 '</span><span>prate_Interp.nc</span><span>' are on the same horizontal grids.</span></div><div><span><br></span></div><span lang="EN-US"></span><span lang="EN-US">Any help would be appreciated<br><br>Regards<br>Wilfried<br></span><div><br></div>  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight: bold;">De&nbsp;:</span></b> Arlindo Meque &lt;mequitomz@yahoo.com.br&gt;<br> <b><span style="font-weight: bold;">À&nbsp;:</span></b> gradsusers &lt;gradsusr@gradsusr.org&gt; <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Vendredi 2 décembre 2011 14h08<br> <b><span style="font-weight: bold;">Objet&nbsp;:</span></b> [gradsusr] How to match land-ocean boundaries?<br> </font> </div> <br><div id="yiv829727412"><div><div style="color: rgb(0, 0, 0);
 background-color: rgb(255, 255, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><span></span></div><div>&nbsp;</div>

<div class="yiv829727412MsoNormal">I am plotting the precipitation field from CRU data.</div>

<div class="yiv829727412MsoNormal">Is there any function that will make my variable to match the
political boundary on the eastern side of the map? Please find attached the plot.
It seems that the precipitation field does not follow exactly the coastal line. </div>

<div class="yiv829727412MsoNormal">I hope my question is clear.</div>

<div class="yiv829727412MsoNormal">Best regards,</div>

<div class="yiv829727412MsoNormal">Arlindo </div>

</div></div></div><br>_______________________________________________<br>gradsusr mailing list<br><a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br> </div> </div>  </div></body></html>