[ncl-talk] Interpolation error using linint1_n

Giorgio Graffino g.graffino at tim.it
Wed Jun 5 09:26:08 MDT 2019


Dear NCL people,I want to report a (potential) error in the documentation.
While looking at how to interpolate a monotonically decreasing dimension from a 2D variable onto another, I found the linint1 functions (https://www.ncl.ucar.edu/Document/Functions/Contributed/linint1_n.shtml). It is said that the relevant dimension "must be strictly monotonically increasing or decreasing". However, when I run the function no output variable is created and the following warning appears
 warning:linint1_n: xi and xo must be monotonically increasing
I'm using NCL 6.3.0 (quite old, I know) on a Linux cluster. Could it be the reason why a monotonically decreasing dimension is not accepted? Or is the documentation wrong?

Cheers,Giorgio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190605/17b50c69/attachment.html>


More information about the ncl-talk mailing list