[ncl-talk] question: is there a built-in function for?

Damjan Jelic dnjelic at gmail.com
Wed Jun 27 04:39:03 MDT 2018


Dear NCL support,

is there any built-in function which can compare consecutive steps and
assign true/false if difference is positive or negative? for example:
input  :1,2,3,2,-1,-1,2
output:1,1,0,0, 1, 1

all the best!
Damjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180627/7211110c/attachment.html>


More information about the ncl-talk mailing list