[ncl-talk] If statements and Fill_Values
Barry Lynn
barry.h.lynn at gmail.com
Thu Jan 9 23:40:02 MST 2020
Hi:
I am trying to skip a loop where all the numbers (min/max) are _FillValues.
min=9.96921e+36 max=9.96921e+36
However, I get this error, even though my if statement is checking this.
fatal:The result of the conditional expression yields a missing value. NCL
can not determine branch, see ismissing function
if (max(ratio_hr).eq.ratio_hr at _FillValue.and.min(ratio_hr).eq.ratio_hr@
_FillValue)then
continue
else
Is there someway around this?
Thank you
--
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581
C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200110/7042bade/attachment.html>
More information about the ncl-talk
mailing list