<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;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div dir="ltr">
<div>
<div>
<div dir="ltr">
<div><font color="#333333"><span style="font-family:arial,sans-serif; font-size:13px; border-collapse:collapse">Hello,
</span></font></div>
<div><span style="font-family: arial, sans-serif; font-size: 13px; color: rgb(51, 51, 51);"><br>
</span></div>
<div><span style="font-family: arial, sans-serif; font-size: 13px; color: rgb(51, 51, 51);">I'm using NCL plotting routines to plot WRF output. My script is below and works pretty well. However, I would like to control the font height on lat/long labels and
more importantly the color fill of inland water bodies. mpInlandWaterFillColor and mpLandFillColor fail to work once wrf_map_overlays is called. Is there a way to control these resources and how would I do it? Any advice would be greatly appreciated. Thanks,
Matt</span></div>
<div><font color="#333333"><span style="font-family:arial,sans-serif; font-size:13px; border-collapse:collapse"><br>
</span></font></div>
<div>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;"><br>
</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">type = "png"</p>
<p class="p2" style="font-family: Tahoma; font-size: 13.63636302948px;"><br>
</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;"><span style="font-size: 10pt;">wks = gsn_open_wks(type,pname+ndt)</span></p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">gsn_define_colormap(wks,"MPL_terrain")</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">res = True</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">res@NoHeaderFooter = True </p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;"><br>
</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres = True</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpDataBaseVersion = "Ncarg4_0"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpDataSetName = "Earth..1"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpNationalLineColor = "black"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpNationalLineThicknessF = 2</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpGeophysicalLineColor = "black"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpGeophysicalLineThicknessF = 2</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpProvincialLineColor = "black"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpProvincialLineThicknessF = 3</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">;mpres@mpFillOn = True</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">;mpres@mpFillDrawOrder = "PreDraw"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpInlandWaterFillColor = "grey81"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpOceanFillColor = "grey81"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">mpres@mpLandFillColor = "grey81"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;"><br>
</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">pltres = True</p>
<p class="p2" style="font-family: Tahoma; font-size: 13.63636302948px;"><br>
</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;"><span style="font-size: 10pt;">var3_res = res</span></p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">var3_res@ContourParameters = (/ 0, 3, 1 /)</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">var3_res@cnFillMode = "RasterFill"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">var3_res@cnFillOn = True</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">var3_res@cnRasterSmoothingOn = False</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">var3_res@cnFillColors = (/"grey81","red","green","blue","black"/)</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">var3_res@cnFillDrawOrder = "Draw"</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;"></p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">con3_var = wrf_contour(f,wks,vmap,var3_res)</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;"><br>
</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;"><br>
</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">pltres@CommonTitle = True</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">pltres@PlotTitle = ndt</p>
<p class="p1" style="font-family: Tahoma; font-size: 13.63636302948px;">plot = wrf_map_overlays(f,wks,(/con3_var/),pltres,mpres)</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>