<div dir="ltr"><div class="gmail_default" style="font-size:small">You need to subscribe to ncl-talk before you can post:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">There are two examples that do averages based on outlines in a shaepfile.  See examples &quot;<a href="http://www.ncl.ucar.edu/Applications/Scripts/Germany_coastal_counties_DEU_adm.ncl">Germany_coastal_counties_DEU_adm.ncl</a>&quot; and &quot;shapefiles_13.ncl&quot; at:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/shapefiles.shtml">http://www.ncl.ucar.edu/Applications/shapefiles.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">for an example of what you are trying to do. The shapefiles_14.ncl example on that page uses WRF data, so you may want to look at this one too, although it doesn&#39;t do an average.</div><div class="gmail_default"><br></div><div class="gmail_default">If you have further questions about this, please subscribe to ncl-talk and post there.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 28, 2015 at 1:24 AM, Dipak Sahu <span dir="ltr">&lt;<a href="mailto:dipakmath@gmail.com" target="_blank">dipakmath@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"><div dir="ltr"><div><div><div><div>Dear NCL developers and exports<br></div>    Now I 
have some issues with wrfoutput files. I need to extract the polygon 
average value of surface temperature for each polygon within a shapefile
 over southern California. I have the shapefiles with .shp, .dbf, .sbx, 
.shx and .sbn. <br><br></div>So, Please help me how to resolve this issue. If any sample scripts are there it will be more appreciable.<br><br></div>with thanks and regards<br></div>Dipak<div><div><div dir="ltr"><div>********************************************<br>Dr. Dipak Kumar Sahu (PhD),</div><div><div>Postdoctoral Researcher</div><div>Center for Energy Research</div><div>Science and Engineering Research Facility (SERF), Room No.-118</div><div>University of California San Diego</div><div>9500 Gilman Drive</div><div>La Jolla, CA 92093</div><div>Email: <a href="mailto:dksahu@ucsd.edu" target="_blank">dksahu@ucsd.edu</a></div><div>Office Phone: <a href="tel:%2B1-858-534-2766" value="+18585342766" target="_blank">+1-858-534-2766</a></div><div>Mobile: <a href="tel:%2B1-858-766-1203" value="+18587661203" target="_blank">+1-858-766-1203</a></div><div>**********************************************</div></div></div></div></div>
</div>
</blockquote></div><br></div>