[ncl-talk] ind funtion (not working when used as: ind(variable.eq.variable at _FillValue)

Rashed Mahmood rashidcomsis at gmail.com
Sun Nov 19 23:05:57 MST 2017


Hi,
NCL 6.4:
I am not sure if that is the intended behaviour, a simple following command
show the problem:
I do not why the command line: ncl 2> print(ind(a.eq.a at _FillValue)) would
produce a missing while it's fine with: ncl 3> print(ind(ismissing(a)))


ncl 0> a = (/1,2,3,4,-999.000,6/)
ncl 1> a at _FillValue = -999.000
ncl 2> print(ind(a.eq.a at _FillValue))
(0)     -2147483647
ncl 3> print(ind(ismissing(a)))
(0)     4


If that is how it is supposed to, then should there be any warning/error
message?

Thanks,
Rashed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171119/1d378c82/attachment.html>


More information about the ncl-talk mailing list