<div dir="ltr">In WRF output you only need to specify how many vertical levels you're using in the control file. In your case, you look to have 54 levels, so your ZDEF line only needs to be<div><br></div><div>ZDEF 54 linear 1.0 1.0</div><div><br></div><div>That should enable you to plot your data. The only caveat to doing it this way is that when you plot your vertical cross sections the index values on the vertical axis will default to model levels rather than to the eta values of those levels. However, you can get around that by setting ylab to off and manually drawing whatever vertical coordinate values you want along the vertical axes. Of course, these values would only be valid at the edges of your vertical cross sections, but you could also draw additional axes wherever you'd like along the cross section and label the vertical coordinate values, there, too. This just makes liberal use of the 'q w2xy' command.</div><div><br></div><div>I'm not sure if using ZDEF 54 levels 0.99745 0.9923 0.98715 ... etc. will work, but if it does, it gets you around the problem described above.</div><div><br></div><div>Jeff Duda</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 31, 2018 at 12:47 AM, Gevorgyan Artur <span dir="ltr"><<a href="mailto:agm86@yandex.ru" target="_blank">agm86@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Dear Sir/Madam,</div><div> </div><div>I have wrf model output file in the netcdf fromat and I want to plot vertical cross sections for various parameters.</div><div> </div><div>The vertical levels in the file are defined as eta values on half (mass) levels. The following eta values are used in the model:</div><div> </div><div> </div><div> </div><div><div><strong>ZNU =</strong></div><div><strong>  0.99745, 0.9923, 0.98715, 0.9821, 0.97705, 0.97185, 0.9664, 0.9607,</strong></div><div><strong>    0.95465, 0.94815, 0.9412, 0.9337, 0.9256, 0.9168, 0.90715, 0.89655,</strong></div><div><strong>    0.8849, 0.8721, 0.85805, 0.84255, 0.8255, 0.80685, 0.78645, 0.76425,</strong></div><div><strong>    0.74025, 0.71445, 0.6869, 0.65775, 0.6271, 0.5952, 0.5623, 0.52865,</strong></div><div><strong>    0.49455, 0.46025, 0.42615, 0.39245, 0.3594, 0.3273, 0.29625, 0.2664,</strong></div><div><strong>    0.23795, 0.21095, 0.18545, 0.16025, 0.1366, 0.1159, 0.097, 0.07975,</strong></div><div><strong>    0.06405, 0.04975, 0.03675, 0.02495, 0.01425, 0.0046 ;</strong></div><div> </div><div>How to define the ZDEF correctly in the descriptor file so that grads could plot my data at all levels ?</div><div> </div><div>Best regards,</div><div>Artur</div></div><br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2"><span>Jeff Duda, Research Scientist<br>



















</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>University of Colorado Boulder</span></span></font></p><font size="2"><span>

</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>Cooperative Institute for Research in Environmental Sciences</span></span></font></p><font size="2"><span>

</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>NOAA/OAR/ESRL/Global Systems Division</span></span></font></p><font size="2"><span>

<span>Boulder, CO</span></span></font>



</div></div></div></div></div></div></div></div></div></div></div>
</div>