<div dir="ltr"><div>This was looked at offline.</div><div><br></div><div>Likely, there is a "bug of some kind." See Adam's response below. He also provided a sample script</div><div>.</div><div><br></div><div><br></div><div>Adam Phillips provided the attached script.</div><div><br></div><div><div>Stay Healthy</div><div>==========</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 2, 2020 at 12:57 PM Buzan, Jonathan via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">
You need to delete _FillValue and set the number to some arbitrary value.
<div><br>
</div>
<div>-Jonathan</div>
<div><br>
</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On Jul 2, 2020, at 8:55 PM, Rashed Mahmood <<a href="mailto:rashidcomsis@gmail.com" target="_blank">rashidcomsis@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div>I do not think that we should use 0 as missing value, please also see this page:</div>
<div><a href="http://www.ncl.ucar.edu/Document/Language/error_messages.shtml#ZeroMissingValue" target="_blank">http://www.ncl.ucar.edu/Document/Language/error_messages.shtml#ZeroMissingValue</a></div>
<div>and no, setting _FillValue to some arbitrary number does not work.</div>
<div><br>
</div>
<div></div>
<div>I am guessing that there may be a workaround for this, which I haven't found yet!</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jul 1, 2020 at 7:06 PM Buzan, Jonathan <<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>I think it’s interpolating between the data.
<div>Have you tried deleting the _FillValue and set it to 0 (or some arbitrary number)?</div>
<div><br>
</div>
<div>-Jonathan</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On Jul 1, 2020, at 6:25 PM, Rashed Mahmood <<a href="mailto:rashidcomsis@gmail.com" target="_blank">rashidcomsis@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div>Jonathan,</div>
<div>Please look at the if statement that was introduced just to play with it a bit. Please have a look at the plot named *_Original.pdf. This is what the question is about.</div>
<div><br>
</div>
<div>Rashed<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jul 1, 2020 at 6:03 PM Buzan, Jonathan <<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Rashed,<br>
<br>
Looking at your script, it looks like the stipple is doing exactly what you said it to do:<br>
<br>
do n=0,20 <br>
sig({n},:) = 95.01<br>
end do<br>
<br>
<br>
You set resS@cnLevels =(/ 95.,100. /)<br>
<br>
The {n} in sig({n},:) means to set the latitudes 0-20 to 95.01. And the stipple is greater than 95. But lower than 100. So it stippled from 0-20 latitude.<br>
<br>
-Jonathan<br>
<br>
<br>
<br>
<br>
> On Jul 1, 2020, at 5:57 PM, Rashed Mahmood via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br>
> <br>
> Hi NCL,<br>
> <br>
> I encountered strange stippling behaviour when valid data points are very few and are scattered apart from each other. At best I would expect no stippling overlaid on a filled map, however, it seems that NCL somehow covers the whole map with stippling.<br>
> <br>
> To explain this, I created a small example script (attached) which reads data from the attached file. To play with it a bit, I just added some "fake data" to see what happens. In the script we could set it using "add_bogus_data = True".<br>
> Attached are two plots after using original data and adding some fake data. I am not sure what is going on here, anyone? Ignore the file names!!<br>
> <br>
> Cheers<br>
> Rashed<br>
> <br>
> <funny_stiple.ncl><<a href="http://tst_diff.nc/" rel="noreferrer" target="_blank">tst_diff.nc</a>><Mask_TEST_Original.pdf><Mask_TEST_Bogus.pdf>_______________________________________________<br>
> ncl-talk mailing list<br>
> <a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">
https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>