[ncl-talk] Wondering how to write this if statement

Marston Johnston shejo284 at gmail.com
Fri Sep 8 01:35:34 MDT 2017


As far as I can see that should work:
if(dbz.lt.0.0) then

 Dbz = dbz + 256.0

end if

 

/M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Marston S. Ward, PhD

Department of Earth Sciences

University of Gothenburg, Sweden

Email: marston.johnston at gu.se

SkypeID: marston.johnston 

Phone: +46-31-7864901 

Only the fruitful thing is true!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

 

From: ncl-talk <ncl-talk-bounces at ucar.edu> on behalf of Barry Lynn <barry.h.lynn at gmail.com>
Date: Friday, 8 September 2017 at 09:33
To: ncl-talk <ncl-talk at ucar.edu>
Subject: [ncl-talk] Wondering how to write this if statement

 

Hi:

 

I am wondering how to properly write this if statement in NCL language.

 

  if (dbz.lt.0)then

   dbz = dbz + 256

  end if

 

-- 

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

_______________________________________________ ncl-talk mailing list ncl-talk at ucar.edu List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talk 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170908/af86fa64/attachment.html>


More information about the ncl-talk mailing list