[gradsusr] how to plot data over a particular region using shape file

Kishore Ragi kishoreragi at gmail.com
Sat Apr 26 09:21:14 EDT 2014


Dear Sushant,

Open your data file as one and your shape file as second.

then use the following command.

d maskout(your_var_name,maks.2(t=1))

and for area average

d aave(maskout(your_var_name,maks.2(t=1)),lon=x1,lon=x2,lat=y1,lat=y2)

Hope it solves your purpose.

Cheers,

Kishore


On Sat, Apr 26, 2014 at 6:11 PM, sushant puranik
<sushantpuranik at gmail.com>wrote:

> Hi
> 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.
>
> I am able to make a plot with the help of MATLAB (see the attachment) but
> I want to do it with GrADS.
>
> can anyone please tell me whether it is possible in GrADS. Any suggestion
> or scripts are most welcome.
>
> Thanks
>
> Regards
> Sushant
>
> [image: Inline image 1]
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140426/f91d86c9/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Maharastra_.png
Type: image/png
Size: 40524 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20140426/f91d86c9/attachment-0001.png 


More information about the gradsusr mailing list