<div dir="ltr"><div class="gmail_default" style="font-size:small">Guilherme,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please see examples shapefiles_21.ncl at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/shapefiles.shtml#ex21">http://www.ncl.ucar.edu/Applications/shapefiles.shtml#ex21</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">It explains why you see these &quot;blocky&quot; contours in NCL.</div><div class="gmail_default"><br></div><div class="gmail_default">Simply put, if you have four points that represent a box at the edge of a domain, and three of them have data one them and one is missing, then NCL will only draw contours in half of the box, because it won&#39;t extrapolate to that missing point.</div><div class="gmail_default"><br></div><div class="gmail_default">The real question is: do you simply want the graphics not to have gaps, or do you actually want there to be data in locations that fall just outside the geographical boundary?  You can do things to force values just outside the geographical boundary, but this depends on how you are masking in the first place.</div><div class="gmail_default"><br></div><div class="gmail_default">If you are masking based on a shapefile, then see example shapefiles_18.ncl on the same page:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/shapefiles.shtml#ex18">http://www.ncl.ucar.edu/Applications/shapefiles.shtml#ex18</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Note, however, that this mask is now returning values outside the range of interest.</div><div class="gmail_default"><br></div><div class="gmail_default">If you are simply trying to mask your data *graphically* by some geographical area, then instead of trying to use a mask function, you can draw the full data, and then draw polygons filled in with white in the areas you don&#39;t want to see graphically.  That&#39;s what example 21 is showing.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 17, 2017 at 1:00 PM, Guilherme Martins <span dir="ltr">&lt;<a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@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">Dear users,<div><br></div><div>After searching extensively on the NCL website I was not able to find a solution to my problem. I only want values within the contour of the continent, but some edges appear in the figure that are stemming from the mask that I applied and I do not know how to remove this. The figure is attached for a better view of my problem.<br></div><div><br></div><div>Best regards,</div><div><br></div><div>Guilherme.</div></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------</div><div><div>Instituto Nacional de Pesquisas Espaciais (INPE)<br></div><div>Centro de Previsão de Tempo e Estudos Climáticos (CPTEC)</div><div>Divisão de Satélites e Sistemas Ambientais (DSA)</div><div>Programa de Monitoramento de Queimadas</div><div>Telefone (INPE/CP): <a href="tel:+55%2012%203186-9205" value="+551231869205" target="_blank">+55 12 3186-9205</a> || Celular (TIM): <a href="tel:+55%2012%2098111-4292" value="+5512981114292" target="_blank">+55 12 98111-4292</a></div><div>E-mail: <a href="mailto:guilherme.martins@inpe.br" target="_blank">guilherme.martins@inpe.br</a> || <a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a></div><div>Skype: guilherme.martins.</div><div>Homepage: <a href="https://sites.google.com/site/jgmsantos" target="_blank">https://sites.google.com/site/<wbr>jgmsantos</a></div><div>Currículo Lattes: <a href="http://lattes.cnpq.br/5997657584785803" target="_blank">http://lattes.cnpq.br/<wbr>5997657584785803</a></div></div><div><span style="font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------</span><br></div></div></div>
</font></span><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>