<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Ying Song,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The gsn_csm_pres_hgt function assumes that you have a 1D array of levels that represents the levels across each X value, so yes, in this case, you would need to interpolate your various levels to the same 1D array.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think the correct thing to do is create the nlev x ntimes array and populate it yourself, and then use gsn_csm_contour to simply draw a filled contour plot.  Of course, you won&#39;t get the &quot;nice&quot; pressure/height values on the Y axis, but this isn&#39;t going to be possible anyway, if these are different for every X value.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you really want a pressure/height axis, then you will need to vertically interpolate your pressure levels to a common set of pressure levels for each set of daily values. If this is the route you want to go, then go to our &quot;interpolation functions&quot; page:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Document/Functions/interp.shtml">http://www.ncl.ucar.edu/Document/Functions/interp.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default">and search for words like &quot;vertical&quot; and &quot;pressure&quot; to see what routines have to do with vertical or pressure interpolation.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 25, 2017 at 2:02 PM, Ying Song <span dir="ltr">&lt;<a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, <div>I has a question about plot daily vertical profiles over time in NCL. I have one month daily ozonesonde from flight in .ict format and hope to plot the daily profiles over time. (just like the left picture on the webpage:</div><div><a href="http://ozone.met.psu.edu/dev/research/discover2014/quicklooks_ozonesondes.php" target="_blank">http://ozone.met.psu.edu/dev/<wbr>research/discover2014/<wbr>quicklooks_ozonesondes.php</a> )</div><div>The My thought is to define a new array (/nlev, ntimes/), write the 30 days&#39; ozonesonde into one array, use &quot;gsn_csm_pres_hgt&quot; to plot. However, the nlev are different among my daily profiles. Do I have to preprocess my profiles to get uniform vertical level or NCL can handle it directly? Do you have an example that I can check? </div><div><br></div><div>Thank you very much!</div><span class="HOEnZb"><font color="#888888"><div> <br>-- <br><div class="m_5120647239348460136gmail_signature"><div dir="ltr"><div>Ying Song, PhD, Post Doctoral Fellow </div><div>Department of Earth and Atmospheric Sciences</div><div>Saint Louis University</div><div><br></div><div><a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</a></div><div><br></div></div></div>
</div></font></span></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>