Changeset 3773 for palm/trunk/SCRIPTS/palm_csd_files
- Timestamp:
- Mar 1, 2019 8:56:57 AM (6 years ago)
- Location:
- palm/trunk/SCRIPTS/palm_csd_files
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palm_csd_files/palm_csd_canopy_generator.py
r3668 r3773 25 25 # ----------------- 26 26 # $Id$ 27 # Bugfix: conversion to integer required for indexing 28 # 29 # 3668 2019-01-14 12:49:24Z maronga 27 30 # Various improvements and bugfixes 28 31 # … … 302 305 303 306 # Define center of the tree position inside the local LAD domain 304 tree_location_x = x[ nx/2]305 tree_location_y = y[ nx/2]307 tree_location_x = x[int(nx/2)] 308 tree_location_y = y[int(nx/2)] 306 309 307 310 -
palm/trunk/SCRIPTS/palm_csd_files/palm_csd_tools.py
r3726 r3773 25 25 # ----------------- 26 26 # $Id$ 27 # Unspecificed changes 28 # 29 # 3726 2019-02-07 18:22:49Z maronga 27 30 # Index bound bugfix 28 31 # … … 95 98 for k in range(1,len(k_tmp+1)): 96 99 if k_tmp[k] > array[m,l]: 97 array[m,l] = k_tmp[k-1] 100 array[m,l] = k_tmp[k-1] + dz * 0.5 98 101 break 99 102
Note: See TracChangeset
for help on using the changeset viewer.