<div dir="ltr"><div class="gmail_default" style="font-size:small">Geeta,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I tried to run your script, but the data file appears to be bad.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The issue is likely that your non-missing data may not be surrounded by enough non-missing points. If you have a single valid point or even two points surrounded on all sides by missing points, then no contour can be drawn at those points. If you have three dots, then you end up with a triangular contour that connects the three dots.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If I could open your data file, then I was going to add a call to gsn_coordinates so I could draw a dot at all your missing and non-missing locations.  </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think you just need to add this to the end of your script:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><font face="monospace, monospace">    mkres = True</font></div><div class="gmail_default"><font face="monospace, monospace">    mkres@gsMarkerSizeF            = 2   ; try values from 2 to 30 to increase/decrease marker size              </font></div><div class="gmail_default"><font face="monospace, monospace">    mkres@gsMarkerIndex            = 16   ; filled dot                                                           </font></div><div class="gmail_default"><font face="monospace, monospace">    mkres@gsnCoordsNonMissingColor = &quot;black&quot;</font></div><div class="gmail_default"><font face="monospace, monospace">    mkres@gsnCoordsMissingColor    = &quot;red&quot;</font></div><div class="gmail_default"><font face="monospace, monospace">    gsn_coordinates(wks,plot,maxZ,mkres)</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">This should draw the missing data as red dots and the valid data as black dots.  You will then be able to see if you have valid data that is not surrounded by enough other valid data.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">If your grid is really high-res, then you will just end up with a blob. You then may need to zoom in on your map area of interest a little to better see the area with the problem. You already have these settings:</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><div class="gmail_default" style="font-family:monospace,monospace">   res@mpMinLatF   =  13.00</div><div class="gmail_default" style="font-family:monospace,monospace">   res@mpMaxLatF   =  17.0</div><div class="gmail_default" style="font-family:monospace,monospace">   res@mpMinLonF   =  71.0</div><div class="gmail_default" style="font-family:monospace,monospace">   res@mpMaxLonF   =  77.0</div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">so to further zoom in on your map, you can change these to the desired lat/lon area.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">--Mary</font></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 16, 2016 at 7:36 AM, Geeta Geeta <span dir="ltr">&lt;<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.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><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20796"><span id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20861">Thanks Mary for your valuable support. I really acknowledge that. </span></div><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20796"><span id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20928">The plot looks different and I could see the Deep Blue Dot too. Pls check from line no 5784 and around this (52.05)</span></div><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20796"><span id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_32434"><br id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_32433"></span></div><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20796"><span id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_32431">My question is that around this point there were non-zero values, so why gsn_countour_map is missing some of the data points. and what method of filling the contours is used by &quot;cnFillOn = True&quot;  . I have attached my output with this. </span></div><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20796"><span id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_39124">I am also sending the data at your ftp address. </span></div><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20796"><span><br></span></div><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20796"><span id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_35843">My data looks complete now because I can see each and every pixel. </span></div><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20796"><span><br></span></div><div></div><div id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20838"> warm regards</div><span class="HOEnZb"><font color="#888888"><div class="m_4730383949269065453signature" id="m_4730383949269065453yui_3_16_0_ym19_1_1481891817859_20864">Geeta.</div></font></span><div><div class="h5"> <div class="m_4730383949269065453qtdSeparateBR"><br><br></div><div class="m_4730383949269065453yahoo_quoted" style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"> <div dir="ltr"><font size="2" face="Arial"> On Thursday, 15 December 2016 10:56 PM, Mary Haley &lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt; wrote:<br></font></div>  <br><br> <div class="m_4730383949269065453y_msg_container"><div id="m_4730383949269065453yiv2031875570"><div><div dir="ltr"><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small">Geeta,</div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small"><br clear="none"></div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small">We cannot debug this by simply looking at data values and plots. I do see the issue that you are pointing out, but without seeing your code, I can&#39;t be sure of the problem.</div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small"><br clear="none"></div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small">If your value that is 52.05 is surrounded by missing values, then I think it&#39;s possible it won&#39;t show up on the plot. You could try doing a raster plot:</div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small"><br clear="none"></div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small">res@cnFillMode = &quot;RasterFill&quot;</div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small"><br clear="none"></div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small">to see if this changes anything.</div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small"><br clear="none"></div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small">If it doesn&#39;t, then if you could provide the data and a clean script, this would really help.</div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small"><br clear="none"></div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small">thanks,</div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small"><br clear="none"></div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small">--Mary</div><div class="m_4730383949269065453yiv2031875570gmail_default" style="font-size:small"><br clear="none"></div></div><div class="m_4730383949269065453yiv2031875570gmail_extra"><br clear="none"><div class="m_4730383949269065453yiv2031875570gmail_quote">On Thu, Dec 15, 2016 at 1:48 AM, Geeta Geeta <span dir="ltr">&lt;<a rel="nofollow" shape="rect" href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>&gt;</span> wrote:<br clear="none"><blockquote class="m_4730383949269065453yiv2031875570gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_4730383949269065453yiv2031875570yqt0868620204" id="m_4730383949269065453yiv2031875570yqt55135"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16203">dear ncl-talk</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16203">I am using a variable called Z_fnl which is filtered for one condition and the it is called maxZ. Then maxZ is filtered for 2 conditions and is called maxZ_Conv. </div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16203"><br clear="none"></div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16203">Below output is the LIne number ofthe file, Raintype, Lat, Lon, maxZ, maxZ_Conv (Output is attatched)</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16203"> </div><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16203">   5843 (118,0) -9999 14.7402 75.7023   0    -9999</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16204">   5844 (118,1) 152 14.7826 75.6777   23.09    -9999</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16205">   5845 (118,2) 210 14.8249 75.6531   34.03    34.03</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16206">   5846 (118,3) 200 14.8669 75.6286   52.05    52.05</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16207">   5847 (118,4) 200 14.9083 75.6044   40.67    40.67</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16208">   5848 (118,5) 210 14.9496 75.5802   22.34    22.34</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16209">   5849 (118,6) 120 14.9906 75.5562   23.75    -9999</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16210">   5850 (118,7) 210 15.0313 75.5322   24.61    24.61</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16211">   5851 (118,8) 210 15.0716 75.5085   36.33    36.33</div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_9545"></div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16212">   5852 (118,9) 210 15.112 75.4847   42.3    42.3</div><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16213">Now I am plotting the Raintype and maxZ_Conv for a small area and for a large area. </div><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16213"><br clear="none"></div><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16213">Now my problem is that it looks like that the plots and unable to correspond directly to the data. For example, in the line number at 5846 which has highest value of 52.05 at the point 14.8669/75.6286 . Pls also check the lines from 5843-5852. </div><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16213"><br clear="none"></div><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_16213"><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_29425"> (118,3) 200 14.8669 75.6286   52.05    52.05 seems to be missing in the plot. At this point the DEEP Blue color is missing. </div><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_29426"><br clear="none"></div><div dir="ltr" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_29426">I m sorry for asking this basic question. </div></div><div></div><div id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_9559"> </div><div class="m_4730383949269065453yiv2031875570m_6457295621333818837signature" id="m_4730383949269065453yiv2031875570m_6457295621333818837yui_3_16_0_ym19_1_1481779480584_9560"><br clear="none"></div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/ mailman/listinfo/ncl-talk</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div></div></div></div></div></blockquote></div><br></div>