<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Thanks, Kyle, but I'm missing something still. My script is below. The wrf_map_overlays function is perhaps messing up the draw order or recoloring inland water bodies white. Any
ideas?
<div><br>
</div>
<div><br>
</div>
<div>
<p class="p1">type = "png"</p>
<p class="p2"><br>
</p>
<p class="p1"><span style="font-size: 10pt;">wks = gsn_open_wks(type,pname+ndt)</span></p>
<p class="p1">gsn_define_colormap(wks,"MPL_terrain")</p>
<p class="p1">res = True</p>
<p class="p1">res@NoHeaderFooter = True </p>
<p class="p1"><br>
</p>
<p class="p1">mpres = True</p>
<p class="p1">mpres@mpDataBaseVersion = "Ncarg4_0"</p>
<p class="p1">mpres@mpDataSetName = "Earth..1"</p>
<p class="p1">mpres@mpNationalLineColor = "black"</p>
<p class="p1">mpres@mpNationalLineThicknessF = 2</p>
<p class="p1">mpres@mpGeophysicalLineColor = "black"</p>
<p class="p1">mpres@mpGeophysicalLineThicknessF = 2</p>
<p class="p1">mpres@mpProvincialLineColor = "black"</p>
<p class="p1">mpres@mpProvincialLineThicknessF = 3</p>
<p class="p1">;mpres@mpFillOn = True</p>
<p class="p1">;mpres@mpFillDrawOrder = "PreDraw"</p>
<p class="p1">mpres@mpInlandWaterFillColor = "grey81"</p>
<p class="p1">mpres@mpOceanFillColor = "grey81"</p>
<p class="p1">mpres@mpLandFillColor = "grey81"</p>
<p class="p1"><br>
</p>
<p class="p1">pltres = True</p>
<p class="p2"><br>
</p>
<p class="p1"><span style="font-size: 10pt;">var3_res = res</span></p>
<p class="p1">var3_res@ContourParameters = (/ 0, 3, 1 /)</p>
<p class="p1">var3_res@cnFillMode = "RasterFill"</p>
<p class="p1">var3_res@cnFillOn = True</p>
<p class="p1">var3_res@cnRasterSmoothingOn = False</p>
<p class="p1">var3_res@cnFillColors = (/"grey81","red","green","blue","black"/)</p>
<p class="p1">var3_res@cnFillDrawOrder = "Draw"</p>
<p class="p1"></p>
<p class="p1">con3_var = wrf_contour(f,wks,vmap,var3_res)</p>
<p class="p1"><br>
</p>
<p class="p1"><br>
</p>
<p class="p1">pltres@CommonTitle = True</p>
<p class="p1">pltres@PlotTitle = ndt</p>
<p class="p1">plot = wrf_map_overlays(f,wks,(/con3_var/),pltres,mpres)</p>
<p class="p1"><br>
</p>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF71626" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> windrunnerxc@gmail.com [windrunnerxc@gmail.com] on behalf of Kyle Griffin [ksgriffin2@wisc.edu]<br>
<b>Sent:</b> Sunday, September 07, 2014 5:33 PM<br>
<b>To:</b> Matthew Fearon; ncl-talk<br>
<b>Subject:</b> Re: [ncl-talk] define infill color for inland water bodies<br>
</font><br>
</div>
<div></div>
<div>
<p dir="ltr">Don't use mpFillColor. Use a combination of mpLandFillColor, mpOceanFillColor, and mpInlandWaterFillColor. These are your desired resources.<br>
</p>
<p dir="ltr">Kyle</p>
<div class="gmail_quote">On Sep 7, 2014 4:56 PM, "Matthew Fearon" <<a href="mailto:Matthew.Fearon@dri.edu" target="_blank">Matthew.Fearon@dri.edu</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Dear NCL Users,
<div><br>
</div>
<div>What is the correct method for filling in inland water bodies with a specified color. Here's the resources I have been experimenting with, but none seem to work, eg, inland lakes are consistently colored white not grey81. Thanks, Matt</div>
<div><br>
</div>
<div><br>
</div>
<div>
<p>mpres = True</p>
<p>;mpres@mpDataBaseVersion = "Ncarg4_0"</p>
<p>;mpres@mpDataSetName = "Earth..4"</p>
<p>mpres@mpNationalLineColor = "black"</p>
<p>mpres@mpNationalLineThicknessF = 2</p>
<p>mpres@mpGeophysicalLineColor = "black"</p>
<p>mpres@mpGeophysicalLineThicknessF = 2</p>
<p>mpres@mpProvincialLineColor = "black"</p>
<p>mpres@mpProvincialLineThicknessF = 3</p>
<p>mpres@mpFillOn = True</p>
<p>mpres@mpMonoFillColor = True</p>
<p>mpres@mpFillColor = "grey81"</p>
<p>mpres@mpFillAreaSpecifiers = "water" ;"inlandwater"</p>
<p>mpres@mpSpecifiedFillColors = "grey81"</p>
</div>
</div>
</div>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>