<div dir="ltr"><div dir="ltr"><div>Hi, <br></div><div><br></div><div>There are quite a number of examples of using shapefiles to mask data to a specific region at:</div><div><br></div><div>    <a href="http://ncl.ucar.edu/Applications/shapefiles.shtml">http://ncl.ucar.edu/Applications/shapefiles.shtml</a></div><div><br></div><div>Examples #11 and #12 are but two. Hopefully once you know how to mask your data, you'll know how to perform the calculations you want.</div><div><br></div><div>Hope that helps...</div><div><br></div><div>Rick<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 11, 2019 at 8:30 PM 15295538792 <<a href="mailto:15295538792@163.com">15295538792@163.com</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"><u></u>







<div style="border-width:0px;font-size:10.5pt;font-family:微软雅黑;color:rgb(0,0,0);margin:12px;line-height:1.5"><u></u>
<div>Dear NCL experts,</div>
<div> </div>
<div>If I have a shapefile data of a certain province as well as a netcdf file 
containing global grid data, how can I get the data exactly in the province from 
the nc file (I want to have the province-averaged values of climate variables)? 
please help me,Thanks very much!</div>
<div> </div>
<div> </div>
<div>Sincerely,<br>Shouli Xuan<br><a href="mailto:Email%3A15295538792@163.com" target="_blank">Email:15295538792@163.com</a></div>
<div> </div>
<div style="font-size:10pt;font-family:Verdana;color:rgb(192,192,192)">
<div align="left">2019-03-12</div>
<hr id="gmail-m_-4188224759150546625SignNameHR" style="border-color:rgb(192,192,192) currentcolor currentcolor;border-style:solid none none;border-width:1px 0px 0px;height:1px;width:122px" align="left">
<span id="gmail-m_-4188224759150546625_FlashSignName">15295538792</span> </div><u></u></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>