<div dir="ltr">Hi Nicholas,<div><br></div><div>One of the problems with that mountain cross section example is that there is no vertical coordinate information set for the cross section, and this causes all kinds of problems with the plotting (which is why it's so hacky). First, try using the new wrf_user_vertcross that's attached (which will be part of the next NCL release, ported from WRF-Python). Also, when plotting with this, you should probably avoid the "wrf_" plotting routines, as those can be difficult to control. Try plotting with the regular "gsn_csm_" routines instead.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Bill</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 5, 2018 at 10:17 AM Nicholas Thomas Luchetti <<a href="mailto:Nicholas.Luchetti@colorado.edu">Nicholas.Luchetti@colorado.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi all,<br><br>I'm attempting to plot vertical cross sections of an idealized WRF simulation that includes a terrain mask. <br><br>I've been trying to play around with NCAR's experimental wrf_CrossSection_add_smooth_terrain code (<a href="http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/CROSS_SECTION/wrf_CrossSection_add_smooth_terrain.ncl" target="_blank">http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/CROSS_SECTION/wrf_CrossSection_add_smooth_terrain.ncl</a>) <br><br>with decent results. <br><br>However, I can't seem to figure out a few issues... First off, the lines: <br><br>




<span></span>





<p class="m_9022426204596271137gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_9022426204596271137gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_9022426204596271137gmail-Apple-converted-space"> </span>ter_res = True</span></p>
<p class="m_9022426204596271137gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_9022426204596271137gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_9022426204596271137gmail-Apple-converted-space">  </span>opts_ter = res</span></p>
<p class="m_9022426204596271137gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_9022426204596271137gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_9022426204596271137gmail-Apple-converted-space">  </span>opts_ter@gsnYRefLine = 0.0</span></p>
<p class="m_9022426204596271137gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_9022426204596271137gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_9022426204596271137gmail-Apple-converted-space">  </span>opts_ter@gsnAboveYRefLineColor = "black"</span></p>
<p class="m_9022426204596271137gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_9022426204596271137gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_9022426204596271137gmail-Apple-converted-space">  </span>opts_ter@gsnDraw = False</span></p>
<p class="m_9022426204596271137gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_9022426204596271137gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_9022426204596271137gmail-Apple-converted-space">  </span>opts_ter@gsnFrame = False</span></p>
<p class="m_9022426204596271137gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_9022426204596271137gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_9022426204596271137gmail-Apple-converted-space">  </span>opts_ter@FieldTitle = ""</span></p>


<br>don't seem to work for me... The mountain mask only appears white. No errors, but the mountain won't change colors to black and I'm not sure why. <br clear="all"><div><br><br>Second, the base of the terrain appears to be bumped up .2km which throws off my labels... I can't figure out in the code where this is happening. I've attached my version to this email. The terrain in this setup is a 500 meter valley... The plots, however, appear to set up the terrain around 700 meters, not 500 meters, so the base of the valley only dips to 200 meters, when it should be around 0 meters. See attached screenshot for reference. <br><br>Does anyone have any ideas? Thanks!<br><br>Nick Luchetti </div>-- <br><div class="m_9022426204596271137gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><font size="2">Nicholas Luchetti</font></span><div><div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="2">Graduate Student<br>Department of Atmospheric and Oceanic Sciences (ATOC)<br>CU Boulder <br></font><div style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><br></div></div></div></div></div></div></div>
</div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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>