Changeset 4749
- Timestamp:
- Oct 16, 2020 11:21:27 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palm_csd
r4746 r4749 25 25 # ----------------- 26 26 # $Id$ 27 # Bugfix: processing of patch height faulty for multiple domains 28 # 29 # 4746 2020-10-15 17:16:30Z maronga 27 30 # Add support for backyard high vegetation, which is commonly classified as 28 31 # short grass … … 1102 1105 1103 1106 # 2D loop in order to avoid memory problems with large arrays 1104 for ii in range(0,domain_nx[i]):1107 for iii in range(0,domain_nx[i]): 1105 1108 for jj in range(0,domain_ny[i]): 1106 1109 1107 lad[0:patch_nz+1,jj,ii ] = np.where( (lad[0:patch_nz+1,jj,ii] == fillvalues["tree_data"]),lad_patch[0:patch_nz+1,jj,ii], lad[0:patch_nz+1,jj,ii] )1110 lad[0:patch_nz+1,jj,iii] = np.where( (lad[0:patch_nz+1,jj,iii] == fillvalues["tree_data"]),lad_patch[0:patch_nz+1,jj,iii], lad[0:patch_nz+1,jj,iii] ) 1108 1111 1109 1112 # Remove high vegetation wherever it is replaced by a leaf area density. This should effectively remove all high vegetation pixels
Note: See TracChangeset
for help on using the changeset viewer.