Changeset 595 for palm/trunk
- Timestamp:
- Nov 12, 2010 9:52:10 AM (14 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_masks.f90
r565 r595 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! Calculation of z locations for masked output changed 7 7 ! 8 8 ! Former revisions: … … 469 469 ELSEIF ( dim == 3 ) THEN 470 470 ind_array = & 471 MINLOC( ABS( mask(mid,dim,count) * mask_scale(dim) - z w) )471 MINLOC( ABS( mask(mid,dim,count) * mask_scale(dim) - zu ) ) 472 472 m = ind_array(1) - 1 + nzb ! MINLOC uses lower array bound 1 473 473 ENDIF … … 523 523 IF ( mask_loop(mid,dim,2) < 0.0 ) THEN 524 524 tmp2 = mask_loop(mid,dim,2) 525 mask_loop(mid,dim,2) = z w(nz) / mask_scale(dim) ! (default)525 mask_loop(mid,dim,2) = zu(nz) / mask_scale(dim) ! (default) 526 526 ENDIF 527 527 IF ( MAXVAL( mask_loop(mid,dim,1:2) ) & 528 > z w(nz) / mask_scale(dim) ) THEN528 > zu(nz) / mask_scale(dim) ) THEN 529 529 WRITE ( message_string, '(2(A,I3,A,I1,A,F9.3),A,I1,A,F9.3)' ) & 530 530 'mask_loop(',mid,',',dim,',1)=',mask_loop(mid,dim,1), & 531 531 ' and/or mask_loop(',mid,',',dim,',2)=', & 532 mask_loop(mid,dim,2),'&exceed z w(nz)/mask_scale(',dim, &533 ')=',z w(nz)/mask_scale(dim)532 mask_loop(mid,dim,2),'&exceed zu(nz)/mask_scale(',dim, & 533 ')=',zu(nz)/mask_scale(dim) 534 534 CALL message( 'init_masks', 'PA0333', 1, 2, 0, 6, 0 ) 535 535 ENDIF 536 536 ind_array = & 537 MINLOC( ABS( mask_loop(mid,dim,1) * mask_scale(dim) - z w) )537 MINLOC( ABS( mask_loop(mid,dim,1) * mask_scale(dim) - zu ) ) 538 538 loop_begin = & 539 539 ind_array(1) - 1 + nzb ! MINLOC uses lower array bound 1 540 540 ind_array = & 541 MINLOC( ABS( mask_loop(mid,dim,2) * mask_scale(dim) - z w) )541 MINLOC( ABS( mask_loop(mid,dim,2) * mask_scale(dim) - zu ) ) 542 542 loop_end = ind_array(1) - 1 + nzb ! MINLOC uses lower array bound 1 543 543 ! -
palm/trunk/SOURCE/read_var_list.f90
r592 r595 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! remove print command 7 7 ! 8 8 ! Former revisions:
Note: See TracChangeset
for help on using the changeset viewer.