<div dir="ltr">Hi Nick:<div><br></div><div>Thank you.</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 21, 2017 at 4:54 PM, Bassill, Nicholas <span dir="ltr">&lt;<a href="mailto:nbassill@albany.edu" target="_blank">nbassill@albany.edu</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 id="m_-4086732581169745658divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hi Barry,<br>
   It&#39;s sort of a cheating method. I have point data, that I want to interpolate to a grid so I can map it (say, temperature). Since I can choose the grid I map it to, I merely pick a grid that happens to have a western border of exactly where the NY western
 border *should* be.</p>
<p><br>
</p>
<p>Here&#39;s the relevant section of my script:</p>
<p><br>
</p>
<p></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">sitefile  = &quot;currenttemp.dat&quot;</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">sitedata = asciiread(sitefile,-1,&quot;string&quot;<wbr>)</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">delim = &quot;,&quot;</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">sitelats  = tofloat(str_get_field(<wbr>sitedata,1,delim))</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">sitelons  = tofloat(str_get_field(<wbr>sitedata,2,delim))</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">sitetemp  = tofloat(str_get_field(<wbr>sitedata,3,delim))</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200);min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">lonmin = -79.76332855224604 </span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">lonmax = -71.85635375976562 </span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">latmin = 40.4</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">latmax = 45.1</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200);min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newlons = fspan(lonmin,lonmax,200)</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newlats = fspan(latmin,latmax,200)</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200);min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">latsize=(dimsizes(newlats))</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">lonsize=(dimsizes(newlons))</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200);min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newlons@units=&quot;degrees_east&quot;</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newlats@units=&quot;degrees_north&quot;</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200);min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures"></span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newdata2 = dsgrid2(sitelats,sitelons,<wbr>sitetemp,newlats,newlons)</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newdata3 = natgrid(sitelats,sitelons,<wbr>sitetemp,newlats,newlons)</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures"></span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200);min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newdata = (newdata3+newdata2)/2   ; take average</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newdata!0=&quot;lat&quot;</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newdata!1=&quot;lon&quot;</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newdata&amp;lon = newlons</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newdata&amp;lat = newlats</span></p>
<p style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)">
<span style="font-variant-ligatures:no-common-ligatures">newdata@_FillValue = -999</span></p><span class="">
<br>
<p></p>
<p><br>
</p>
<p><br>
</p>
<div id="m_-4086732581169745658Signature">
<div id="m_-4086732581169745658divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols">
<p><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">Nick Bassill, PhD</span></p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
Modeler &amp; Meteorologist, New York State Mesonet</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
LC SB-28, 1400 Washington Ave.,</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
SUNY, University at Albany, NY 12222</p>
<a href="tel:(518)%20442-6375" value="+15184426375" target="_blank">(518) 442-6375</a>
<p></p>
<p><a href="http://nysmesonet.org/" target="_blank">http://nysmesonet.org/</a><br>
</p>
</div>
</div>
<br>
<br>
</span><div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-4086732581169745658divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Barry Lynn &lt;<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>&gt;<br>
<b>Sent:</b> Tuesday, February 21, 2017 2:15 AM<div><div class="h5"><br>
<b>To:</b> Bassill, Nicholas<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] New York Map issue(s)</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">Hi Bassill:
<div><br>
</div>
<div>How do you mask the incorrect western boundary?</div>
<div><br>
</div>
<div>Barry</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 20, 2017 at 4:57 PM, Bassill, Nicholas <span dir="ltr">
&lt;<a href="mailto:nbassill@albany.edu" target="_blank">nbassill@albany.edu</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 id="m_-4086732581169745658m_-2179262355618978376divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Rick,<br>
    Thanks for the reply. I guess I must have missed that masking doesn&#39;t work with the high-res datasets, so sorry about that. <br>
<br>
I&#39;ve played around with shapefiles a little, but in our case we&#39;re interested in making some production-quality images pretty much in real-time, so the issue of &quot;missing&quot; data near the state boundaries is kind of a deal-breaker. Since all we care about is plotting
 the data, I think the best bet for the moment is to mask with medium-res, and interpolate our data to the correct western NY boundary so that the incorrect portion does not plot. Something like this: <a href="http://www.atmos.albany.edu/facstaff/nbassill/live/regularmercator.png" class="m_-4086732581169745658m_-2179262355618978376OWAAutoLink" id="m_-4086732581169745658m_-2179262355618978376LPlnk844938" target="_blank">http://www.atmos.albany.<wbr>edu/facstaff/nbassill/live/reg<wbr>ularmercator.png</a></p>
<span>
<p><br>
</p>
<div id="m_-4086732581169745658m_-2179262355618978376Signature">
<div id="m_-4086732581169745658m_-2179262355618978376divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">Nick Bassill, PhD</span></p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
Modeler &amp; Meteorologist, New York State Mesonet</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
LC SB-28, 1400 Washington Ave.,</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
SUNY, University at Albany, NY 12222</p>
<a href="tel:(518)%20442-6375" value="+15184426375" target="_blank">(518) 442-6375</a>
<p></p>
<p><a href="http://nysmesonet.org/" target="_blank">http://nysmesonet.org/</a><br>
</p>
</div>
</div>
<br>
<br>
</span>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-4086732581169745658m_-2179262355618978376divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Rick Brownrigg &lt;<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>&gt;<br>
<b>Sent:</b> Friday, February 17, 2017 5:24 PM<br>
<b>To:</b> Bassill, Nicholas<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] New York Map issue(s)</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div><span>
<div>
<div>Hi Nicholas,<br>
<br>
</div>
Yes, you are right about the western border issue:  attached is a plot showing NCL&#39;s border (in white), and the Shapefile&#39;s border (in red).  (this map was very quickly put together, please ignore the lack of esthetics).  I&#39;m not sure we can do anything about
 that in the short term.  I&#39;ll file a bug report.<br>
<br>
</div>
<div>As for the second issu, the docs do explicitly state that NCL&#39;s builtin masking functions do not work with the HighRes/RANGS map databases.<br>
</div>
<div><br>
</div>
However, for both purposes, state boundaries and masking, you might want to consider using a shapefile as a source.  Check out the examples page for both a link to a good source of shapefiles, GADM, and for examples of how to use them to perform masking.<br>
<br>
<a href="http://ncl.ucar.edu/Applications/shapefiles.shtml" id="m_-4086732581169745658m_-2179262355618978376LPlnk79074" target="_blank">http://ncl.ucar.edu/Applicatio<wbr>ns/shapefiles.shtml</a>
</span>
<div id="m_-4086732581169745658m_-2179262355618978376LPBorder_GT_14876022970920.1673643345297613" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px">
<table id="m_-4086732581169745658m_-2179262355618978376LPContainer_14876022970910.9525513008577227" cellspacing="0" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td id="m_-4086732581169745658m_-2179262355618978376TextCell_14876022970910.8095884423077497" colspan="2" style="vertical-align:top;padding:0px;display:table-cell">
<div id="m_-4086732581169745658m_-2179262355618978376LPRemovePreviewContainer_14876022970910.4616077722235692">
</div>
<div id="m_-4086732581169745658m_-2179262355618978376LPTitle_14876022970910.27262370000279" style="color:rgb(0,120,215);font-weight:normal;font-size:21px;font-family:wf_segoe-ui_light,&quot;Segoe UI Light&quot;,&quot;Segoe WP Light&quot;,&quot;Segoe UI&quot;,&quot;Segoe WP&quot;,Tahoma,Arial,sans-serif;line-height:21px">
<a id="m_-4086732581169745658m_-2179262355618978376LPUrlAnchor_14876022970910.18098182756978698" href="http://ncl.ucar.edu/Applications/shapefiles.shtml" style="text-decoration:none" target="_blank">NCL and Shapefiles</a></div>
<div id="m_-4086732581169745658m_-2179262355618978376LPMetadata_14876022970910.14221027835487732" style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:normal;font-family:wf_segoe-ui_normal,&quot;Segoe UI&quot;,&quot;Segoe WP&quot;,Tahoma,Arial,sans-serif;font-size:14px;line-height:14px">
<a href="http://ncl.ucar.edu" target="_blank">ncl.ucar.edu</a></div>
<div id="m_-4086732581169745658m_-2179262355618978376LPDescription_14876022970920.023730046067000243" style="display:block;color:rgb(102,102,102);font-weight:normal;font-family:wf_segoe-ui_normal,&quot;Segoe UI&quot;,&quot;Segoe WP&quot;,Tahoma,Arial,sans-serif;font-size:14px;line-height:20px;max-height:100px;overflow:hidden">
Shapefiles. Shapefiles are a supported data format. in NCL, and hence can be read with addfile. Unlike other supported formats, however, a &quot;shapefile&quot; refers to a ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<br>
</div>
Hope this helps...<br>
</div>
Rick<br>
</div>
<div>
<div class="m_-4086732581169745658h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Feb 17, 2017 at 8:59 AM, Bassill, Nicholas <span dir="ltr">
&lt;<a href="mailto:nbassill@albany.edu" target="_blank">nbassill@albany.edu</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 id="m_-4086732581169745658m_-2179262355618978376m_-6855215173812133369divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi All,<br>
    New subscriber, so bear with me here. Two things - (1) a likely bug, and (2) a question. I&#39;m using NCL 6.3. </p>
<p><br>
</p>
<p>(1) It appears that the state boundaries for New York are slightly off in the far western boundary. I&#39;m attaching an image (NY.png) that plots the state of NY, but with data that is specifically limited by the *actual* western border to demonstrate this.</p>
<p><br>
</p>
<p>The relevant map settings are:</p>
<p><br>
</p>
<p></p>
<div>res@mpDataBaseVersion           = &quot;Ncarg4_1&quot;</div>
<div>res@mpDataSetName               = &quot;Earth..4&quot;  </div>
<div>res@mpFillAreaSpecifiers        = (/&quot;Land&quot;, &quot;Land:North America:United States:Conterminous US:New York&quot;,&quot;Water&quot;/)</div>
<div>res@mpSpecifiedFillColors       = (/&quot;white&quot;,&quot;transparent&quot;,       &quot;white&quot;/)</div>
<div>res@mpInlandWaterFillColor      = 238</div>
<div>res@mpLandFillColor             = -1     ; transparent</div>
<div>res@mpOutlineOn                 = True</div>
<div>res@mpMaskOutlineSpecifiers =   (/&quot;Land&quot;/)</div>
<div>res@mpOutlineSpecifiers =   (/ &quot;Land:North America:United States:Conterminous US:New York&quot;/)</div>
<div>res@mpDataBaseVersion = &quot;MediumRes&quot;</div>
<br>
<p></p>
<p><br>
</p>
<p>(2) Partially based off of that, and in an effort to have a more detailed coastline, I decided to try the &quot;HighRes&quot; dataset. However, I am not able to successfully do any masking. In this case I want *only* a fill in the shape of NY. For this I&#39;m attaching
 the dataset I&#39;m using (currenttemp.dat), the script I&#39;m using (temp.ncl, based largely on <a href="http://www.ncl.ucar.edu/Applications/Scripts/mask_8.ncl" class="m_-4086732581169745658m_-2179262355618978376m_-6855215173812133369OWAAutoLink" id="m_-4086732581169745658m_-2179262355618978376m_-6855215173812133369LPlnk638081" target="_blank">http://www.ncl.ucar.edu/App<wbr>lications/Scripts/mask_8.ncl</a> f<wbr>or
 the mask), and a sample image (current.png). </p>
<br>
<p>Any help with (2) would be greatly appreciated!</p>
<p><br>
</p>
<div id="m_-4086732581169745658m_-2179262355618978376m_-6855215173812133369Signature">
<div id="m_-4086732581169745658m_-2179262355618978376m_-6855215173812133369divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">Nick Bassill, PhD</span></p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
Modeler &amp; Meteorologist, New York State Mesonet</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
LC SB-28, 1400 Washington Ave.,</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
SUNY, University at Albany, NY 12222</p>
<a href="tel:(518)%20442-6375" value="+15184426375" target="_blank">(518) 442-6375</a>
<p></p>
<p><a href="http://nysmesonet.org/" target="_blank">http://nysmesonet.org/</a><br>
</p>
</div>
</div>
</div>
</div>
<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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<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>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-4086732581169745658gmail_signature">
<div dir="ltr">Barry H. Lynn, Ph.D
<div>
<div>Senior Lecturer,</div>
<div>
<div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)">
</div>
<span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div>
</div>
<div><span style="color:rgb(136,136,136)"><br>
</span></div>
<div>C.E.O, Weather It Is, LTD<br>
Weather and Climate Focus<br>
<a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>
Jerusalem, Israel<br>
Local: 02 930 9525<br>
Cell: 054 7 231 170<br>
Int-IS: x972 2 930 9525<br>
US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US 914 432 3108<br></div></div></div>
</div>