<div dir="ltr">Hi Damjan,<div><br></div><div>You want to use wrf_user_intrp3d (<a href="http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_intrp3d.shtml">http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_intrp3d.shtml</a>). The wrf_interp_2d_xy is a lower level routine which is called by wrf_user_interp3d. To use this routine, you either set a start point and end point, or an origin with an angle, to define the horizontal line. With either method, the points to define the horizontal line are grid indexes. </div><div><br></div><div>Also, the output vertical levels are chosen by the algorithm by taking min/max for the vertical data and dividing it up in to ~100 increments. It will work with increasing or decreasing vertical coordinates, but unfortunately the user cannot select the output vertical levels manually at this time. In general, the algorithm is expecting height or pressure coordinates for the vertical. Your mileage may vary if you choose another type.</div><div><br></div><div>As a general warning, be careful when using non-WRF data with the 'wrf' NCL routines, as nearly all of the WRF routines expect data without missing values in the input arrays, despite many of the algorithms having missing values in the output. The algorithms will most likely crash if there are missing values in the input.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Bill</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 4, 2016 at 5:07 AM, Damjan Jelić <span dir="ltr"><<a href="mailto:damjan.jelic@fmf.uni-lj.si" target="_blank">damjan.jelic@fmf.uni-lj.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear NCL support and users,<br>
<br>
I'm in need of vertical cross section data along some manually defined<br>
line (currently along New Zeland). Im using various datasets (currently<br>
reanalysis) in netcdf format. Is the function from title appropriate for<br>
such task? I did try to apply it but it seams its working only as<br>
latitudal or longitudal slicer and description is not detailed enough so<br>
Im sending this mail. Any how to about it would be great.<br>
On the other hand is there any other function which can do the cross<br>
section by interpolating neighboring points and not minding about type<br>
of vertical coordinate at hand or will i have to do it manualy?<br>
<br>
Sincerely,<br>
Damjan Jelic<br>
Uni. Lubljana<br>
_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>