<div dir="ltr">Hi Jackson,<div>It is a bit difficult to ascertain what is going on with the information provided. When you say you are getting numerous error messages, </div><div>at what line(s) are you getting them? You are creating numerous plots within the script, but I am guessing that some of your error messages are coming from this line:</div><div>contour_spd = wrf_contour(a,wks,spd(0:zmax_pos,:),opts_spd)<br></div><div>as the black color fill you are referring to is for your wind speed contour field. What I am not understanding is that you are setting your ContourParameters resource to this:<br></div><div>opts_spd@ContourParameters = (/ 0., 38., 2. /)<br></div><div>but the contours for the plot go from 0 to 32 by 4, so I am missing something here.</div><div><br></div><div>I would recommend simplifying your script, so that the only thing it is doing is creating the wind speed contour field. Eliminate all other resource lists and code that isn't needed.</div><div>See if anything improves. If that does not help you to figure out what is wrong, reply to the ncl-talk email list with the newly simplified script, and tell the group about any error</div><div>messages, along with at what line they occur at.</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 30, 2021 at 3:40 PM Jackson Wiles 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 dir="auto"><div dir="ltr"><br><blockquote type="cite"><div dir="ltr"><div><p class="MsoNormal">Hello all,</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Attached is an image of a vertical cross section. I am receiving multiple warnings that read similarly. The warning states, “warning:ContourPlotSetValues: color index (227) exceeds size of palette, defaulting to foreground color for entry (8).”</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have tried many different color schemes and found if I use a color scheme less than 256 colors, the black color extends to half of my legend accordingly.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">In the script, the area of interest is entitled, “; Plotting options for Total Wind (U and V)”</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is there a way to take away the black color?</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks,</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Jackson<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div></div><div dir="auto" role="textbox" aria-label="Message Body"><div dir="ltr"><blockquote type="cite"><div dir="ltr"></div></blockquote></div></div><div dir="auto"><div dir="ltr"><blockquote type="cite"><div dir="ltr"></div></blockquote></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><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>