<div dir="ltr"><div><div>HI Manisha,<br><br></div>I've not seen this error before, but looking at the code, it suggests some internal work arrays might be too small. The function ARSCAM is used to extract boundaries of regions. You say only islands are getting drawn -- I can well imagine that the continent itself might be a rather large polygon composed of many segments.<br></div><div><br></div><div>Do you have a file named ".hluresfile" in your home directory (note the leading "."), and if so, does it contain a line that starts with "*wsMaximumSize"? If so, what is the value given there?</div><div><br></div><div>Rick<br></div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 6, 2018 at 10:55 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></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_default" style="font-size:small">Hi Manisha,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I believe Rick is on vacation today.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've never seen this error before, but I think what's happening is that the shapefile polygon you are trying to fill is simply too small to add to the map.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The only reason you should be using gsn_add_shapefile_polygons is if you need to fill the polygons in some color.  If you simply want to outline them, then gsn_add_shapefile_polylines should be used.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you really do need filled polygons, then can you point me to the shapefile you are using?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 5, 2018 at 3:31 PM, Manisha Ganeshan <span dir="ltr"><<a href="mailto:manisha.ganeshan86@gmail.com" target="_blank">manisha.ganeshan86@gmail.com</a>></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>Hi Rick,</div><div><br></div>Sorry for the slow follow-up. When I use <b>gsn_add_shapefile_polylines</b>, the map outline looks reasonable. However, when using <b>gsn_add_shapefile_polygons, </b> i<wbr>t only plots the small islands. I get the following error message. Any idea what might be causing this? <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I want to use the high-res Antarctic shapefile to mask out the continent and small islands. </span><div><br></div><div><br><span></span><p class="m_-8254941988015981493m_6717153532889944322gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-8254941988015981493m_6717153532889944322gmail-s1" style="font-variant-ligatures:no-common-ligatures">fatal:MapDataPolygon: ARSCAM - MCS TOO SMALL</span></p>
<p class="m_-8254941988015981493m_6717153532889944322gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-8254941988015981493m_6717153532889944322gmail-s1" style="font-variant-ligatures:no-common-ligatures">fatal:MapDataPolygon: ARSCAM - MCS TOO SMALL</span></p><p class="m_-8254941988015981493m_6717153532889944322gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></p><p class="m_-8254941988015981493m_6717153532889944322gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-8254941988015981493m_6717153532889944322gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span></p><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thanks,</span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Manisha</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br class="m_-8254941988015981493m_6717153532889944322gmail-Apple-interchange-newline"></div><br><p></p>


</div></div><div class="m_-8254941988015981493HOEnZb"><div class="m_-8254941988015981493h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 1:01 PM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>></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>Hi,<br><br></div>I'm not sure I understand the follow-on question regarding cnFillDrawOrder. Examples 4 and 5 at the following link show how to mask grids/data using a shapefile -- is that what you want to do?<br><br><a href="http://ncl.ucar.edu/Applications/shapefiles.shtml" target="_blank">http://ncl.ucar.edu/Applicatio<wbr>ns/shapefiles.shtml</a><br><br><br></div><div class="m_-8254941988015981493m_6717153532889944322HOEnZb"><div class="m_-8254941988015981493m_6717153532889944322h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 21, 2017 at 5:58 PM, Manisha Ganeshan <span dir="ltr"><<a href="mailto:manisha.ganeshan86@gmail.com" target="_blank">manisha.ganeshan86@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks, Rick! I've downloaded the shapefile, and am able to plot an accurate version of Antarctica's coastline.<div><br><div>Presently, I use cnFillDrawOrder = predraw for masking out the continents. I'm wondering if there's a way to direct this function to use the shapefile for masking the continent instead of the default "DataBase" version. </div><div><br></div><div>Thanks,</div><div>Manisha <br></div></div></div><div class="m_-8254941988015981493m_6717153532889944322m_4838561259413812062HOEnZb"><div class="m_-8254941988015981493m_6717153532889944322m_4838561259413812062h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 21, 2017 at 3:50 PM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>></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><div>Hi Manisha,<br><br></div>We generally recommend shapefiles as a source of more up-to-date, higher-res map-data. There is a shapefile for Antarctica at:<br><br></div>     <a href="http://gadm.org" target="_blank">gadm.org</a><br><br></div>There are also a number of examples of using shapefiles with NCL at:<br><br>    <a href="http://ncl.ucar.edu/Applications/shapefiles.shtml" target="_blank">http://ncl.ucar.edu/Applicatio<wbr>ns/shapefiles.shtml</a><br><br></div>Hope that helps...<br><br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-8254941988015981493m_6717153532889944322m_4838561259413812062m_1992343369774753297h5">On Mon, Aug 21, 2017 at 12:55 PM, Manisha Ganeshan <span dir="ltr"><<a href="mailto:manisha.ganeshan86@gmail.com" target="_blank">manisha.ganeshan86@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-8254941988015981493m_6717153532889944322m_4838561259413812062m_1992343369774753297h5"><div dir="ltr">Hello NCL'ers,<div><br></div><div>I've tried plotting the Antarctic continental map outline using the default database, and the "MediumRes" database using mpDataBaseVersion. But the plot seems to be plotting the Ronne-Filchner ice-shelf in W. Antarctic, as part of the continent. Any idea what database I can use to plot the correct continental outline?</div><div><br></div><div>Thanks,</div><div>Manisha<span class="m_-8254941988015981493m_6717153532889944322m_4838561259413812062m_1992343369774753297m_-2237356069657792420HOEnZb"><font color="#888888"><br><div><div><br></div>-- <br><div class="m_-8254941988015981493m_6717153532889944322m_4838561259413812062m_1992343369774753297m_-2237356069657792420m_625631853046265767gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Manisha Ganeshan<div>Universities Space Research Association</div><div>Maryland, U.S.A.</div></div></div>
</div></font></span></div></div>
<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-8254941988015981493m_6717153532889944322m_4838561259413812062m_1992343369774753297gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Manisha Ganeshan<div>Universities Space Research Association</div><div>Maryland, U.S.A.</div></div></div>
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-8254941988015981493m_6717153532889944322gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Manisha Ganeshan<div>Universities Space Research Association</div><div>Maryland, U.S.A.</div></div></div>
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></div></div><span class="HOEnZb"><font color="#888888"><br>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></font></span></blockquote></div><br></div>
</blockquote></div><br></div>