<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><br><br><div dir="ltr">Hi, Everyone<div><br></div><div>Example is here</div><div><a href="http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/CROSS_SECTION/wrf_CrossSection3.htm" target="_blank">http://www2.mmm.ucar.edu/wrf/O<wbr>nLineTutorial/Graphics/NCL/Exa<wbr>mples/CROSS_SECTION/wrf_CrossS<wbr>ection3.htm</a><br></div><div><br></div><div>The tickmarks here are 1010, 960, 910...... But I want standard levels such as 1000, 950, 900.....</div><div><br></div><div>My analysis of the code is as follow: <br></div><div>(1)</div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">rh_plane = wrf_user_intrp3d(rh,p,"v",plan<wbr>e,0.,opts)</span><br></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">It interpolates the data into pressure coordinate. However, the pressure levels are not standard levels as I check the subroutine "</span><font color="#000000"><span style="white-space:pre-wrap">WRFUserARW.ncl"</span></font><span style="color:rgb(0,0,0);white-space:pre-wrap"> . It begins with the highest pressure from the bottom, not from 1000. Thus, the tickmark position represents nonstandard pressure</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">(2) </span><span style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0);white-space:pre-wrap">opts_xy@tmYLMode = "Explicit"</span></div><div><span style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0);white-space:pre-wrap">opts_xy@tmYLValues = fspan(0,zspan,nz) </span><span style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0);white-space:pre-wrap">opts_xy@tmYLLabels = sprintf("%.0f",fspan(zmin,zmax<wbr>,nz)) </span></div><div><span style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">give labels to each tickmark position. Since the tickmark position is not in standard pressure, it shows 1010, 960.....</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap"> </span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">I have tried to use @ </span></font><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap">tmYLMode ="Manual" </span><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:13.3333px"> </span><em style="margin:0px;padding:0px;text-decoration-line:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px"><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/tm.shtml#tmYLTickStartF" style="margin:0px;padding:0px;text-decoration-line:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px" target="_blank">tmYLTickStartF</a> </em><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap">, or set </span><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">trXMaxF </span></font><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap"> , none of them works. They still plot tickmark position.</span></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap">I can possibly modify </span><span style="color:rgb(0,0,0);white-space:pre-wrap">"</span><font color="#000000"><span style="white-space:pre-wrap">WRFUserARW.ncl to let it interpolation to standard levels, but that may require reinstalling NCL in the machine, which is hard.</span></font></div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">Does anyone know how to produce tickmarks which specify the standard pressure value? </span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">Thank you very much</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">Richard </span></font></div></div>
</div><br></div>
</div><br></div>