Ignore:
Timestamp:
Jul 30, 2020 2:54:34 PM (4 years ago)
Author:
suehring
Message:

Land-surface model: bugfix in level 3 initialization of root-area-density; Avoid double classifiation of vertical walls (at surfaces that are alo covered by buildings); Land/urban surface: bugfix in resistance calculation - avoid potential divisions by zero; init_grid: in case of ASCII topography flag grid points as terrain and building to allow application of land/urban-surface model

File:
1 edited

Legend:

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

    r4601 r4630  
    2525! -----------------
    2626! $Id$
     27! In case of ASCII topography input flag grid points as terrain and building.
     28!
     29! 4601 2020-07-14 12:06:09Z suehring
    2730! Minor formatting adjustments
    2831!
     
    13471350!--             Flag topography for all grid points which are below
    13481351!--             the local topography height.
    1349 !--             Note, each topography is flagged as building.
     1352!--             Note, each topography is flagged as building (bit 2) as well as
     1353!--             terrain (bit 1) in order to employ urban-surface as well as
     1354!--             land-surface model.
    13501355                IF ( zu(k) - ocean_offset <= buildings_f%var_2d(j,i) )  THEN
    13511356                   topo_3d(k,j,i) = IBCLR( topo_3d(k,j,i), 0 )
    1352                    topo_3d(k,j,i) = IBSET( topo_3d(k,j,i), 2 ) !indicates building
     1357                   topo_3d(k,j,i) = IBCLR( topo_3d(k,j,i), 1 )
     1358                   topo_3d(k,j,i) = IBSET( topo_3d(k,j,i), 2 )
    13531359                ENDIF
    13541360             ENDDO
Note: See TracChangeset for help on using the changeset viewer.