<div dir="ltr"><div class="gmail_default" style="font-size:small">If you simply had a constant field, then I would suggest looking at the "cnConstFEnableFill" resource:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnConstFEnableFill" target="_blank">http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnConstFEnableFill</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">However, you have the case where all of your data is missing, and NCL treats this as something it can't contour at all.</div><div class="gmail_default"><br></div><div class="gmail_default">If you want this to be filled in a color, then I believe the only thing you can do is set your array to some non-missing value, like 1.0 and then use the cnConstFEnableFill to turn on constant fill.</div><div class="gmail_default"><br></div><div class="gmail_default">Here's how you would fix your data to be constant:</div><div class="gmail_default"><br></div><div class="gmail_default">if(all(ismissing(data))) then</div><div class="gmail_default"> data = 1.0</div><div class="gmail_default">end if</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div><div class="gmail_default"><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 13, 2016 at 12:32 AM, Yun Yue <span dir="ltr"><<a href="mailto:yunyue@huskers.unl.edu" target="_blank">yunyue@huskers.unl.edu</a>></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 style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="font-size:12pt"> </span><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">Hi NCL users,</span></p>
<div style="color:rgb(0,0,0)">
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I'm using a similar code as here <a href="https://www.ncl.ucar.edu/Applications/HDF.shtml" title="https://www.ncl.ucar.edu/Applications/HDF.shtml
Cmd+Click or tap to follow the link" target="_blank">https://www.ncl.ucar.edu/Applications/HDF.shtml</a> example
5 to read and plot multiple files. I plot all the missing data as gray. When there's no satellite granule, I plot it as white color. </p>
<p><br>
</p>
<p>Now when I have a granule pass by, but all the data is missing value, I always get "NO CONTOUR DATA" in the middle, the granule was not plotted. So the color is white at this granule's position. I want to show this granule with gray even if all the data
is missing value. <span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols;font-size:16px">Do you have any idea to fix this?</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols;font-size:16px"><br>
</span></p>
<p>Thanks very much,</p>
<p>Yun </p>
<br>
</div>
</div>
</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>