<div dir="ltr"><div class="gmail_default" style="font-size:small">Laura,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think the problem is simply that the min/max of your data is 0.0111 and 0.69999. You are telling it to shade all values above 0.7, but there are no values above 0.7, so you end up with no shading. If you use a smaller value like 0.6, you will get some yellow contours.</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 class="gmail_default" style="font-size:small">







<p class="p1"><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 7, 2015 at 1:57 PM, Laura Fowler <span dir="ltr">&lt;<a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello:<br>
<br>
I am trying to use gsn_contour_shade to plot a variable that varies<br>
betwen 0.1 and 0.7, following the bottom of the script coneff_13.ncl.<br>
Unfortunately, I cannot make the area of values greater than 0.7<br>
filled with color 150 and I am not sure why. My script is in<br>
/glade/p/work/laura/GFconvection/MPAS.GFconvection-v3.3.mynn/rotation.50_3.overSouthAmerica<br>
<br>
but basically, it contains the lines:<br>
<br>
;SET RESOURCES:<br>
<br>
res = True<br>
res@gsnDraw             = False<br>
res@gsnFrame            = False<br>
res@gsnMaximize         = False<br>
res@gsnSpreadColors     = False<br>
res@gsnPaperOrientation = &quot;landscape&quot;<br>
<br>
res@mpProjection        = &quot;CylindricalEquidistant&quot;<br>
res@mpDataBaseVersion   = &quot;MediumRes&quot;<br>
res@mpCenterLatF        = 0.<br>
res@mpCenterLonF        = 0.<br>
res@mpMinLatF           =  -90.<br>
res@mpMaxLatF           =   90.<br>
res@mpMinLonF           = -150.<br>
res@mpMaxLonF           =   30.<br>
<br>
diri = &quot;./&quot;<br>
f = addfile(&quot;<a href="http://50_3.grid.overSouthAmerica.nc" rel="noreferrer" target="_blank">50_3.grid.overSouthAmerica.nc</a>&quot;,&quot;r&quot;)<br>
<br>
.<br>
.<br>
.<br>
.<br>
<br>
res@cnLevelSelectionMode        = &quot;ManualLevels&quot;<br>
res@cnMinLevelValF              = 0.1<br>
res@cnMaxLevelValF              = 0.7<br>
res@cnLevelSpacingF             = 0.1<br>
<br>
;res@mpOceanFillColor       = &quot;lightcyan&quot;<br>
;res@mpInlandWaterFillColor = &quot;lightcyan&quot;<br>
;res@mpLandFillColor        = &quot;gray75&quot;<br>
<br>
wks = gsn_open_wks(&quot;pdf&quot;,&quot;schematicRefineMesh.limited&quot;)<br>
gsn_define_colormap(wks,&quot;wh-bl-gr-ye-re&quot;)<br>
<br>
plot = gsn_csm_contour_map(wks,ConvF_meshD,res)<br>
<br>
opt = True<br>
opt@gsnShadeHigh = 150<br>
plot = gsn_contour_shade(plot,ConvF_meshD@_FillValue,0.7,opt)<br>
<br>
draw(plot)<br>
frame(wks)<br>
<br>
<br>
A few hints would be greatly appreciated. Thanks,<br>
Laura<br>
<br>
<br>
--<br>
!-------------------------------------------------------------------------------------------------------------<br>
Laura D. Fowler<br>
Mesoscale and Microscale Meteorology Division (MMM)<br>
National Center for Atmospheric Research<br>
P.O. Box 3000, Boulder CO 80307-3000<br>
<br>
e-mail: <a href="mailto:laura@ucar.edu">laura@ucar.edu</a><br>
phone: <a href="tel:303-497-1628" value="+13034971628">303-497-1628</a><br>
<br>
!-------------------------------------------------------------------------------------------------------------<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>
</blockquote></div><br></div>