<div dir="ltr">Hi,<div><br></div><div>Often times, for polygonal shapefiles, the area is given as a variable in the shapefile.</div><div><br></div><div>Rick</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 6, 2017 at 10:31 AM, Dave Allured - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</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 class="gmail_extra">Alan,<br><br>It looks like the NCL function area_poly_sphere does this.  I have never tried it.  See the documentation.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The category &quot;Lat/lon functions&quot; is a good place to search for functionality for shapefile-related data structures, such as spherical polygons.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">--Dave</div></font></span><span class=""><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 6, 2017 at 9:44 AM, Alan Rhoades <span dir="ltr">&lt;<a href="mailto:alan.m.rhoades@gmail.com" target="_blank">alan.m.rhoades@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"><img width="0" height="0" class="m_-4211872624198243014m_-201850593325598161m_-4824724553872235844mailtrack-img" style="float:right" alt="" src="https://mailtrack.io/trace/mail/d7c342f6c93678422fa6f53c42a990f2ca52a4c2.png?u=1126611"><div>Hello,</div><div><br></div><div>I was curious if NCL currently supports a function that could compute a shapefile&#39;s area?  I noticed that the function &quot;print_shapefile_info&quot; from <a href="https://www.ncl.ucar.edu/Applications/Scripts/shapefile_utils.ncl" target="_blank">https://www.ncl.ucar.edu/Appli<wbr>cations/Scripts/shapefile_util<wbr>s.ncl</a> can print certain metadata (i.e., geometry types, # of features, min/max lat/lon, etc.), but it doesn&#39;t seem to support the computation of the shapefile&#39;s total area.</div><div><br></div><div>I currently use toolsets in QGIS to compute the shapefile area, but since I use NCL primarily in my workflows I thought it might be a useful function to create (if it hasn&#39;t already been).</div><div><br></div><div>Thanks in advance!</div><span class="m_-4211872624198243014m_-201850593325598161HOEnZb"><font color="#888888"><div><br></div><div>AR</div></font></span></div></blockquote></div></div></span></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>