Changeset 4127 for palm/trunk/SOURCE/radiation_model_mod.f90
- Timestamp:
- Jul 30, 2019 2:47:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model_mod.f90
r4089 r4127 28 28 ! ----------------- 29 29 ! $Id$ 30 ! Remove unused pch_index (merge from branch resler) 31 ! 32 ! 4089 2019-07-11 14:30:27Z suehring 30 33 ! - Correct level 2 initialization of spectral albedos in rrtmg branch, long- and 31 34 ! shortwave albedos were mixed-up. … … 6194 6197 USE control_parameters, & 6195 6198 ONLY: dz_stretch_level_start 6196 6197 USE netcdf_data_input_mod, &6198 ONLY: leaf_area_density_f6199 6199 6200 6200 USE plant_canopy_model_mod, & 6201 ONLY: pch_index,lad_s6201 ONLY: lad_s 6202 6202 6203 6203 IMPLICIT NONE … … 6259 6259 nzutl = MAX( nzutl, MAXVAL( pct ) ) 6260 6260 nzptl = MAXVAL( pct ) 6261 !-- code of plant canopy model uses parameter pch_index6262 !-- we need to setup it here to right value6263 !-- (pch_index, lad_s and other arrays in PCM are defined flat)6264 pch_index = MERGE( leaf_area_density_f%nz - 1, MAXVAL( pch ), &6265 leaf_area_density_f%from_file )6266 6261 6267 6262 prototype_lad = MAXVAL( lad_s ) * .9_wp !< better be *1.0 if lad is either 0 or maxval(lad) everywhere
Note: See TracChangeset
for help on using the changeset viewer.