Ignore:
Timestamp:
Jul 25, 2018 3:19:37 PM (6 years ago)
Author:
suehring
Message:

Bugfix in radiation forcing in case of RRTMG; further bugfix in output of surface variables in case of overhanging structures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/radiation_model_mod.f90

    r3156 r3170  
    2828! -----------------
    2929! $Id$
     30! Bugfix, map signle-column radiation forcing profiles on top of any topography
     31!
     32! 3156 2018-07-19 16:30:54Z knoop
    3033! Bugfix: replaced usage of the pt array with the surf%pt_surface array
    3134!
     
    29973000
    29983001!
    2999 !--          Save heating rates (convert from K/d to K/h)
    3000              DO k = nzb+1, nzt+1
    3001                 rad_lw_hr(k,:,:)     = rrtm_lwhr(0,k)  * d_hours_day
    3002                 rad_lw_cs_hr(k,:,:)  = rrtm_lwhrc(0,k) * d_hours_day
     3002!--          Save heating rates (convert from K/d to K/h).
     3003!--          Further, even though an aggregated radiation is computed, map
     3004!--          signle-column profiles on top of any topography, in order to
     3005!--          obtain correct near surface radiation heating/cooling rates.
     3006             DO  i = nxl, nxr
     3007                DO  j = nys, nyn
     3008                   k_topo = get_topography_top_index_ji( j, i, 's' )
     3009                   DO k = k_topo+1, nzt+1
     3010                      rad_lw_hr(k,j,i)     = rrtm_lwhr(0,k)  * d_hours_day
     3011                      rad_lw_cs_hr(k,j,i)  = rrtm_lwhrc(0,k) * d_hours_day
     3012                   ENDDO
     3013                ENDDO
    30033014             ENDDO
    30043015
Note: See TracChangeset for help on using the changeset viewer.