<div dir="ltr">Dear Sushant,<div><br></div><div>Open your data file as one and your shape file as second.<div><br></div><div style>then use the following command.</div><div style><br></div><div style><font color="#ff0000">d maskout(your_var_name,maks.2(t=1))</font></div>
</div><div style><br></div><div style>and for area average </div><div style><br></div><div style><font color="#ff0000">d aave(maskout(your_var_name,maks.2(t=1)),lon=x1,lon=x2,lat=y1,lat=y2)</font><br></div><div style><br>
</div><div style>Hope it solves your purpose.</div><div style><br></div><div style>Cheers,</div><div style><br></div><div style>Kishore</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 26, 2014 at 6:11 PM, sushant puranik <span dir="ltr"><<a href="mailto:sushantpuranik@gmail.com" target="_blank">sushantpuranik@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div>I have shape file for various states in India and I want to plot data only for a particular state (say Maharashtra) while masking other states over India. </div>
<div><br></div><div>I am able to make a plot with the help of MATLAB (see the attachment) but I want to do it with GrADS.</div>
<div><br></div><div>can anyone please tell me whether it is possible in GrADS. Any suggestion or scripts are most welcome.</div><div><br></div><div>Thanks</div><div><br></div><div>Regards</div><div>Sushant</div><div> <br clear="all">
<div><img src="cid:ii_1459e0c39cb71f86" alt="Inline image 1" width="454" height="340.5"><br></div>
</div></div>
<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></div>