<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi everyone,<br>
<br>
It's been a while since anyone posted to this thread, but I tried the suggested fix (modifying my WRFUserARW.ncl line 382) to no avail! There is still a good chunk of data missing above the terrain. See the attached output images. The wider image is the default
with "dz=0.01*z_max" and the skinnier image is with "dz=0.00001*z_max".<br>
<br>
Attempted fix:<br>
<br>
"Have you modified line ~382 in WRFUserARW.ncl yet? dz can be decreased from the default value of 0.01:
<div dir="ltr">
<div><br>
</div>
<div>...else</div>
<div> z_max = max(z)</div>
<div> z_min = 0.</div>
<div><span style="white-space:pre"></span><i><font color="FF0000"><b>; Changed to:</b></font></i></div>
<i><font color="FF0000"><b></b></font></i>
<div><i><font color="FF0000"><b><span style="white-space:pre"></span>dz = 0.00001 * z_max</b></font></i></div>
<div> ; From:</div>
<div><i><b><font color="FF0000"> ;dz = 0.01 * z_max</font></b></i></div>
<div> nlevels = tointeger( z_max/dz )</div>
<div> z_var2d = new( (/nlevels/), typeof(z))</div>
<div> z_var2d(0) = z_min</div>
<div> end if"<br>
</div>
</div>
<div><br>
There are quite noticeable differences between the two plots, but no improvement to the terrain. I am close to giving up on this, but thought I would reach out one more time. I have changed other things in the "wrf_intrpd_3d" function also without luck. As
mentioned before, the missing data near the terrain was not an issue in a colleague's RIP plot, so I know it is not the data.<br>
<br>
Best,<br>
Kacie<br>
<br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="">
<div style=""><font style="" size="3" face="monospace">---</font></div>
<div style=""><font size="3" face="monospace"><br>
</font></div>
<font style="" size="3" face="monospace"><font style="">Kacie N. Shourd, M.S.</font>
</font>
<div style=""><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace">µå¸²</font></span></div>
<div style=""><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace"><br>
</font></span></div>
<div style=""><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace">Staff Research Scientist</font></span></div>
<div style=""><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace">Division of Atmospheric Science</font></span></div>
<div style=""><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace">Desert Research Institute, Reno, NV</font></span></div>
<div style="">
<div style="background-color:rgb(255,255,255)"><font size="3" face="monospace">Kacie.Shourd@dri.edu<br>
</font></div>
<div style="background-color:rgb(255,255,255)"><font style="" size="3" face="monospace">Work: <font style="">(775) 674-7049</font></font></div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF583454" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Scott Capps [scapps@atmosdatasolutions.com]<br>
<b>Sent:</b> Tuesday, March 27, 2018 4:47 PM<br>
<b>To:</b> Kacie Shourd<br>
<b>Cc:</b> ncl-talk (ncl-talk@ucar.edu)<br>
<b>Subject:</b> Re: [ncl-talk] Cross sections w/ smoothed terrain.... New issue???<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>Have you modified line ~382 in WRFUserARW.ncl yet? dz can be decreased from the default value of 0.01:</div>
<div><br>
</div>
<div>...else</div>
<div> z_max = max(z)</div>
<div> z_min = 0.</div>
<div><span style="white-space:pre"></span>; Changed to:</div>
<div><span style="white-space:pre"></span>dz = 0.002 * z_max</div>
<div> ; From:</div>
<div> ;dz = 0.01 * z_max</div>
<div> nlevels = tointeger( z_max/dz )</div>
<div> z_var2d = new( (/nlevels/), typeof(z))</div>
<div> z_var2d(0) = z_min</div>
<div> end if</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 27, 2018 at 4:36 PM, Kacie Shourd <span dir="ltr">
<<a href="mailto:Kacie.Shourd@dri.edu" target="_blank">Kacie.Shourd@dri.edu</a>></span> wrote:<br>
<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">Hi NCL friends,<br>
<br>
Attached is an image of the current output I am getting trying to plot a vertical cross section with WRF data in NCL. Also attached is my code, and I can upload the WRF data file for anyone who needs it.
<br>
<br>
I have used this script tons of times in the past with no issue (i.e. no "missing" data near the ground, or at least the terrain was smoothed to cover that up) and am hoping to figure out what's wrong.
<br>
<br>
Could it be the data file I have? If yes, is there a simple way I can extrapolate the RH values to below the ground?
<br>
<br>
Is it the version of NCL I am running?? I used to run this script in v6.4 but am using v6.3 at the moment.
<br>
<br>
A colleague of mine made a plot with the same WRF file in RIP and did not have this issue. I would prefer to plot this up in NCL if possible as I think the plots come out nicer and this is going into a document for some pretty important folks...<br>
<br>
Thanks,<br>
Kacie<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div>
<div><font size="3" face="monospace">---</font></div>
<div><font size="3" face="monospace"><br>
</font></div>
<font size="3" face="monospace"><font>Kacie N. Shourd, M.S.</font> </font>
<div><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace">µå¸²</font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace"><br>
Staff Research Scientist<br>
</font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace">Division of Atmospheric Science</font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font size="3" face="monospace">Desert Research Institute, Reno, NV</font></span></div>
<div>
<div style="background-color:rgb(255,255,255)"><font size="3" face="monospace"><a href="mailto:Kacie.Shourd@dri.edu" target="_blank">Kacie.Shourd@dri.edu</a><br>
</font></div>
<div style="background-color:rgb(255,255,255)"><font size="3" face="monospace">Work: <font><a href="tel:(775)%20674-7049" value="+17756747049" target="_blank">(775) 674-7049</a></font></font></div>
</div>
</div>
</div>
</div>
</div>
<br>
<font size="2" face="Arial">PUBLIC RECORDS NOTICE: In accordance with NRS Chapter 239, this email and responses, unless otherwise made confidential by law, may be subject to the Nevada Public Records laws and may be disclosed to the public upon request.</font>
</div>
<br>
______________________________<wbr>_________________<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="https://linkprotect.cudasvc.com/url?a=http://mailman.ucar.edu/mailman/listinfo/ncl-talk&c=E,1,FvUIVgD7EH9G1hQSxvgiu9p8mf_4k0kEcTABmKT6pVBB-FhMwRwnE4yuShuTwXhNqoezMpeYqatYxdSV83pHVm7uAsGw71owTjHKYqPf7g,,&typo=1" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><font size="4">Scott Capps</font></b>
<div>Principal</div>
<div><a href="https://linkprotect.cudasvc.com/url?a=http://www.atmosphericdatasolutions.com&c=E,1,ii7FITA5DOfDJKepvgGfOku-AGID3DnAJtS5iWd_oBwb_PIKnfs-1V1XTcN2ZiESPh4EGugxUHZb3Vv0bmuUu2W6sV9LogTv0Nw4PDekVE-r4rFAJI2KDnz5K5wQ&typo=1" target="_blank">Atmospheric
Data Solutions</a></div>
<div><a href="mailto:scapps@atmosdatasolutions.com" target="_blank">scapps@atmosdatasolutions.com</a>
<div>cell: (949) 910-4385</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>