[ncl-talk] Error in wrf_user_intrp3d function description page
Trostel, John M.
john.trostel at gtri.gatech.edu
Wed Sep 26 08:46:10 MDT 2018
When I look at the function documentation for wrf_user_intrp3d at https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_intrp3d.shtml, I find the statement:
-------------------
loc
Interpolation information. Can contain up to four scalar values:
* Horizontal plots
Use a single value to indicate the level or height to interpolate to, for example, 500 for 500hPa or 2000 for 2km.
* Cross sections
Use two values if plotting a plane through a given point on the model domain. The two values represent the x/y location through which the plane will pass. The angle argument will be required in this case.
Use four values if plotting from point A to point B. The four values represent the x/y locations of points A and B. The values should be ordered as (xstart,xend,ystart,yend).
----------------------
Note that the plane is then defined as (/xstart, xend, ystart, yend/)
All the examples I see, however, use the definition of the plane as (/xstart, ystart, xend, yend/)
Looking at the source code, wrf_intrp_3d calls wrf_user_set_xy. That function clearly uses the variables in the order: (/xstart, ystart, xend, yend/)
I think the online manual page needs to be changed.
I also think the statement:
"For vertical cross sections, the vertical levels are automatically chosen to be at approximately 1% increments from minimum height to maximum height (or maximum pressure to minimum pressure)."
needs to be highlighted and moved to the section that describes "vert", as that section implies that the vert array controls the vertical interpolation steps..
--
John Trostel
Director - Severe Storms Research Center
Georgia Tech Research Institute
Atlanta, GA 30332-0857
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180926/08719a26/attachment.html>
More information about the ncl-talk
mailing list