<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Dear NCL users,</div><div><br></div><div>Recently I am trying to use the shapefiles downloaded from&nbsp;DIVA-GIS (<a href="http://www.diva-gis.org/gdata)," _src="http://www.diva-gis.org/gdata),">http://www.diva-gis.org/gdata)</a>. Those files can provide finer boundary information (like Nanjing City in Jiangsu Province, China) than&nbsp;<a href="http://www.ncl.ucar.edu/Document/HLUs/Classes/MapPlotData4_1_earth_3.shtml" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(133, 45, 133); font-family: verdana, sans-serif; font-size: 13px; line-height: 16px; text-indent: -13.3333330154419px;">Earth..3</a>&nbsp;database provides.</div><div>I have known how to plot shapefiles and&nbsp;<a href="http://www.ncl.ucar.edu/Applications/Scripts/shapefiles_4.ncl" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(133, 45, 133); font-family: verdana, sans-serif; font-size: 13px; line-height: 16px;">shapefiles_4.ncl</a>&nbsp;also shows an example of masking out all areas inside or outside this outline.But the masking results are coarser and slower than masking doing by NCL itself.</div><div>I am writing to ask are there some&nbsp;alternative methods to mask area out finer and quicker with shapefiles or to add shapefile information into map&nbsp;<span style="line-height: 23.7999992370605px;">database like&nbsp;</span><a href="http://www.ncl.ucar.edu/Document/HLUs/Classes/MapPlotData4_1_earth_3.shtml" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(133, 45, 133); font-family: verdana, sans-serif; font-size: 13px; line-height: 16px; text-indent: -13.3333330154419px;">Earth..3</a><span style="line-height: 23.7999992370605px;">? Could you help me? Thanks a lot.</span></div><div><span style="line-height: 23.7999992370605px;">Attached is the masked plot using&nbsp;</span><a href="http://www.ncl.ucar.edu/Applications/Scripts/shapefiles_4.ncl" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(133, 45, 133); font-family: verdana, sans-serif; font-size: 13px; line-height: 16px;">shapefiles_4.ncl</a>&nbsp;script.</div><div><br></div><div><span style="line-height: 23.7999992370605px;">Best wishes,</span></div><div><span style="line-height: 23.7999992370605px;"><br></span></div><div>Ce Zhu</div><div><br></div><div><img src="cid:65f30660$1$149665a655d$Coremail$lovingzhuce$163.com" orgwidth="816" orgheight="1056" data-image="1" style="width: 816px; height: 1056px; border: 1px solid rgb(153, 153, 153);"></div><div><br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>