Changeset 4250
- Timestamp:
- Oct 2, 2019 6:26:38 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palm_csd_files/palm_csd_tools.py
r4023 r4250 25 25 # ----------------- 26 26 # $Id: palm_csd_tools.py 3773 2019-03-01 08:56:57Z maronga $ 27 # Bugfix: no bridges were generated in buildings_3d at the east and north boundary 28 # 29 # 3773 2019-03-01 08:56:57Z maronga 27 30 # Bugfix: missing conversion to integer 28 31 # … … 126 129 def make_3d_from_bridges_2d(array_3d,array_2d,x,y,dz,width,fill): 127 130 128 for l in range(0,len(x) -1):129 for m in range(0,len(y) -1):131 for l in range(0,len(x)): 132 for m in range(0,len(y)): 130 133 if array_2d[m,l] != fill: 134 print(str(l) + "/" + str(m) + "/") 131 135 k_min = max( int((array_2d[m,l] - width)/dz), 0 ) 132 136 k_max = int(round(array_2d[m,l]/dz))
Note: See TracChangeset
for help on using the changeset viewer.