<div dir="ltr">Does your shapefile of India include state outlines?  If so, use the shapefile_mask_data function to precisely select the grid points for Kerala.  You can select Kerala by name.  If state outlines are not included, then you should be able to find a shapefile for Kerala on line.<div><br></div><div>See documentation at the top of the shapefiles example page, also example shapefiles_4 in particular.  You will need to load the file shapefile_utils.ncl.  Specific documentation for the shapefile_mask_data function can be found inside shapefile_utils.ncl.<br><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 19, 2019 at 12:13 AM Babitha George via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I would like to take the area averaged precipitation over the state Kerala and I was wondering how to select the region. <br></div><div>I have the shapefile of India, but I want to select only Kerala and do area average<br></div><div>Does anyone have any advice on this?</div><div><br></div><div>Thank you<br></div><div>-- <br><div dir="ltr" class="gmail-m_-2490293958984671913m_-6530151121994789421gmail_signature"><div dir="ltr">Babitha George<div>Research Scholar</div><div>IIST, Valiamala</div><div>Thiruvananthapuram,Kerala</div></div></div></div></div></blockquote></div></div></div>