if then else statement

From: jbuzan <jbuzan_at_nyahnyahspammersnyahnyah>
Date: Thu May 30 2013 - 13:58:14 MDT

Hello NCL-Talk,

I am having an issue with my statement:

Line 276 if (wb.gt.0.) then
Line 277 do j = 0, 4
Line 278-347 calculations…
Line 348 end do
Line 349 else
Line 350 wb = wb
Line 351 end if

fatal:Conditional statements (if and do while) require SCALAR logical values, see all and any functions
fatal:Execute: Error occurred at or near line 350

I am not sure what I am doing incorrectly here, any suggestions?

-Jonathan

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 30 13:58:20 2013

This archive was generated by hypermail 2.1.8 : Tue Jun 04 2013 - 09:50:17 MDT