<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I think it’s interpolating between the data.
<div class="">Have you tried deleting the _FillValue and set it to 0 (or some arbitrary number)?</div>
<div class=""><br class="">
</div>
<div class="">-Jonathan</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jul 1, 2020, at 6:25 PM, Rashed Mahmood <<a href="mailto:rashidcomsis@gmail.com" class="">rashidcomsis@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Jonathan,</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Rashed<br class="">
</div>
</div>
<br class="">
<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" class="">jbuzan@purdue.edu</a>> wrote:<br class="">
</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 class="">
<br class="">
Looking at your script, it looks like the stipple is doing exactly what you said it to do:<br class="">
<br class="">
do n=0,20 <br class="">
sig({n},:) = 95.01<br class="">
end do<br class="">
<br class="">
<br class="">
You set resS@cnLevels =(/ 95.,100. /)<br class="">
<br class="">
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 class="">
<br class="">
-Jonathan<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
> On Jul 1, 2020, at 5:57 PM, Rashed Mahmood via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank" class="">ncl-talk@mailman.ucar.edu</a>> wrote:<br class="">
> <br class="">
> Hi NCL,<br class="">
> <br class="">
> 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 class="">
> <br class="">
> 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 class="">
> 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 class="">
> <br class="">
> Cheers<br class="">
> Rashed<br class="">
> <br class="">
> <funny_stiple.ncl><<a href="http://tst_diff.nc/" rel="noreferrer" target="_blank" class="">tst_diff.nc</a>><Mask_TEST_Original.pdf><Mask_TEST_Bogus.pdf>_______________________________________________<br class="">
> ncl-talk mailing list<br class="">
> <a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank" class="">ncl-talk@mailman.ucar.edu</a><br class="">
> List instructions, subscriber options, unsubscribe:<br class="">
> <a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">
https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class="">
<br class="">
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>