Hai susanth,<br><br>In your basemap script, there will be a section as given (from line number 89 to 100)<br><br>* Set the polygon data files<br>if (type = &#39;L&#39; | type = &#39;l&#39;) <br>*  if (lowres); file = &#39;lpoly_US.asc&#39;; endif<br>
  if (lowres); file = &#39;lpoly_lowres.asc&#39;; endif<br>  if (mres)  ; file = &#39;lpoly_mres.asc&#39;  ; endif<br>  if (hires) ; file = &#39;lpoly_hires.asc&#39; ; endif<br>endif<br>if (type = &#39;O&#39; | type = &#39;o&#39;) <br>
  if (lowres); file = &#39;opoly_lowres.asc&#39;; endif<br>  if (mres)  ; file = &#39;opoly_mres.asc&#39;  ; endif<br>  if (hires) ; file = &#39;opoly_hires.asc&#39; ; endif<br>endif<br><br>Here you change the default path to the path where the files resides. As i am using linux, my paths are <br>
<br> Set the polygon data files<br>if (type = &#39;L&#39; | type = &#39;l&#39;) <br>*  if (lowres); file = &#39;/home/krish/grads/lib/lpoly_US.asc&#39;; endif<br>  if (lowres); file = &#39;/home/krish/grads/lib/lpoly_lowres.asc&#39;; endif<br>
  if (mres)  ; file = &#39;/home/krish/grads/lib/lpoly_mres.asc&#39;  ; endif<br>  if (hires) ; file = &#39;/home/krish/grads/lib/lpoly_hires.asc&#39; ; endif<br>endif<br>if (type = &#39;O&#39; | type = &#39;o&#39;) <br>  if (lowres); file = &#39;/home/krish/grads/lib/opoly_lowres.asc&#39;; endif<br>
  if (mres)  ; file = &#39;/home/krish/grads/lib/opoly_mres.asc&#39;  ; endif<br>  if (hires) ; file = &#39;/home/krish/grads/lib/opoly_hires.asc&#39; ; endif<br>endif<br><br><br>Hope this will solve your problem<br><br>Regards<br>
<br>Krishnamohan<br>-- <br>Krishnamohan.K.S<br>CSIR Research Fellow<br>Department Of Atmospheric Sciences<br>Cochin University of Science and Technology<br>Cochin,India<br><br><div class="gmail_quote">On Tue, Aug 9, 2011 at 2:16 PM, sushant puranik <span dir="ltr">&lt;<a href="mailto:sushantpuranik@gmail.com">sushantpuranik@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi<br>I am trying to mask land region with he help of <a href="http://basemap.gs" target="_blank">basemap.gs</a> script. So i adopted following method for masking land<br>
<br>set lat -30 30<br>set lon 30 100<br>define ubar=ave(u,t=1,t=20)<br>
define vbar=ave(v,t=1,t=20)<br>d mag(ubar,vbar)<br>run <a href="http://basemap.gs" target="_blank">basemap.gs</a> L<br>enable print temp<br>print<br>disable print<br>gxyat -x 1024 -y 840 D:\meanwind1000.png<br>clear<br><br>
but after execution of this script it shows <br>
<b>sh: bash: command not found <br>Error reading lpoly_lowres.asc</b><br>Hardcopy output file is closed<br><br>Since i kept all required files in the script folder including lpoly_lowres.asc, lpoly_mres.asc, lpoly_hires.asc, opoly_lowres.asc, opoly_mres.asc 
      and opoly_hires.asc<br><br>Anyone know how to use basemap script for masking land?<br><br>Thanks in advance<br><font color="#888888"><br><br>Sushant<br>
<div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
</font><br>_______________________________________________<br>
gradsusr mailing list<br>
<a 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></blockquote></div><br><br clear="all"><br><br>