<div dir="ltr"><div class="gmail_default" style="font-size:small">Kunal,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I believe you *are* getting all the data points inside the region of interest.  What you are seeing with the &quot;blockiness&quot; is that NCL is not going to extrapolate any contour values beyond these grid points. It needs four points on a rectangle in order to create a smooth filled area.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you set:</div><div class="gmail_default" style="font-size:small">







<p class=""><span class="">  res@</span>cnRasterSmoothingOn<span class=""> = False</span></p><p class="">which is the default, then you will likely see more contours show up, because now you are just coloring cell values.</p></div><div class="gmail_default" style="font-size:small">I sent you a script a few weeks ago that showed you how to turn on your grid points, so you can see exactly which grid points from your dataset are being kept, and which ones are being thrown away.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;ve attached an image from this script so you can see the original data (top plot), and the data masked by regions &quot;Uttar Pradesh&quot;<span class="">,</span>&quot;Himachal Pradesh&quot;<span class="">,</span>&quot;Uttaranchal&quot;<span class="">,</span>&quot;Punjab&quot;<span class="">,</span>&quot;Haryana&quot;,&quot;Nepal&quot;</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The red points in the bottom plot show which points were set to missing.  As you can see, a few of the black points that are inside the region have no contours, but that&#39;s just because NCL can&#39;t generate contours from sparse points.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div>







</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 28, 2016 at 2:29 AM, Kunal Bali <span dir="ltr">&lt;<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@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"><div><div>Dear NCL users<br><br></div>I am able to plot the masking data with the help of the NCL users.  But if you see the attached figure, still lots of data points are missing in the selected regions such as Nepal and Uttrachanchal (Indian region). <br><br></div>I do not want to miss any data points of selected regions. So is there any way to do this ? But I also do not want to add any other adjacent states shapefile like if I add shapefile of Uttar Pradesh (another Indian state next to Uttaranchal and Nepal) , that will cover the data points of in Uttranchal and Nepal but with the Uttar Pradesh also. <br><br><br>     <br><div><div><div>Regards<span class="HOEnZb"><font color="#888888"><br clear="all"></font></span></div><span class="HOEnZb"><font color="#888888"><div><div><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Kunal Bali<br></div><br><div><br></div></div></div></div></div></div>
</div></div></font></span></div></div></div>
<br>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>