Changeset 4490 for palm


Ignore:
Timestamp:
Apr 10, 2020 5:32:45 AM (8 months ago)
Author:
maronga
Message:

bugfix in palm_csd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palm_csd

    r4481 r4490  
    2525# -----------------
    2626# $Id$
     27# Bugfix: call of canopy generator was not made if tree heights were only
     28# available via patch_height, but not in tree_height
     29#
     30# 4481 2020-03-31 18:55:54Z maronga
    2731# Bugfix: green roofs were assigned to all available roofs when switched on
    2832#
     
    10011005      max_patch_height = max(patch_height.flatten())
    10021006     
    1003       if ( (max_tree_height != fillvalues["tree_data"]) | (max_patch_height == fillvalues["tree_data"]) ):
     1007#     Call canopy generator for single trees only if there is any tree height available in the domain.
     1008#     This does not guarantee that there are street trees that can be processed. This is checked in the
     1009#     canopy generator.
     1010      if ( (max_tree_height != fillvalues["tree_data"]) | (max_patch_height != fillvalues["tree_data"]) ):
    10041011
    10051012         lad, bad, tree_ids, zlad = generate_single_tree_lad(x,y,domain_dz[i],max_tree_height,max_patch_height,tree_type,tree_height,tree_crown_diameter,tree_trunk_diameter,lai,settings_season,fillvalues["tree_data"])
Note: See TracChangeset for help on using the changeset viewer.