[ncl-talk] Understanding where statement

Barry Lynn barry.h.lynn at gmail.com
Sun Dec 24 09:13:19 MST 2017


Hi:

I have the lines:

    delz at _FillValue = 0.5

    DELZ =where(delz.ge.0.5,delz,delz at _FillValue)

    print("DELZ")

    printMinMax(DELZ,False)

min=0.500002   max=2.36552


I don't understand why DELZ is still > 0.5.


Thank you for your suggestions,

Happy Holidays
-- 
Barry H. Lynn, Ph.D
Senior 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
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171224/61bdf45f/attachment.html>


More information about the ncl-talk mailing list