Changeset 4895 for palm/trunk/SOURCE/diagnostic_output_quantities_mod.f90
- Timestamp:
- Mar 3, 2021 3:39:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/diagnostic_output_quantities_mod.f90
r4866 r4895 24 24 ! ----------------- 25 25 ! $Id$ 26 ! Remove offset in terrain-following masked output 27 ! 28 ! 4866 2021-02-05 17:50:14Z suehring 26 29 ! Implemented vertical passive scalar flux 27 30 ! Implemented air temperature as diagnostic output quantity (previous commit) … … 1691 1694 DO j = 1, mask_size_l(mid,2) 1692 1695 ! 1693 !-- Get k index of the highest terraing surface1696 !-- Get k index of the lowest non-terrain grid point, else set fill value 1694 1697 im = mask_i(mid,i) 1695 1698 jm = mask_j(mid,j) 1696 1699 ktt = MINLOC( MERGE( 1, 0, BTEST( wall_flags_total_0(:,jm,im), 5 ) ), DIM=1 ) - 1 1697 1700 DO k = 1, mask_size_l(mid,3) 1698 kk = MIN( ktt +mask_k(mid,k), nzt+1 )1701 kk = MIN( ktt + mask_k(mid,k) - 1, nzt+1 ) 1699 1702 ! 1700 1703 !-- Set value if not in building
Note: See TracChangeset
for help on using the changeset viewer.