Changeset 1826 for palm/trunk/SOURCE/package_parin.f90
- Timestamp:
- Apr 7, 2016 12:01:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/package_parin.f90
r1823 r1826 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! Reading of &radiation_par moved to radiation_model_mod. 22 ! Reading of &canopy_par moved to plant_canopy_model_mod. 22 23 ! 23 24 ! Former revisions: … … 30 31 ! 31 32 ! 1817 2016-04-06 15:44:20Z maronga 32 ! Reading of &lsm par moved to land_surface_model_mod.33 ! Reading of &lsm_par moved to land_surface_model_mod. 33 34 ! 34 35 ! 1788 2016-03-10 11:01:04Z maronga … … 152 153 vertical_particle_advection, write_particle_statistics 153 154 154 USE plant_canopy_model_mod, &155 ONLY: alpha_lad, beta_lad, calc_beta_lad_profile, canopy_drag_coeff, &156 canopy_mode, cthf, lad_surface, &157 lad_vertical_gradient, lad_vertical_gradient_level, lai_beta, &158 leaf_scalar_exch_coeff, leaf_surface_conc, pch_index, &159 plant_canopy160 161 USE radiation_model_mod, &162 ONLY: albedo, albedo_type, albedo_lw_dif, albedo_lw_dir, albedo_sw_dif,&163 albedo_sw_dir, constant_albedo, day_init, dt_radiation, &164 emissivity, lambda, lw_radiation, net_radiation, radiation, &165 radiation_scheme, skip_time_do_radiation, sw_radiation, &166 time_utc_init, unscheduled_radiation_calls167 168 169 155 USE spectrum, & 170 156 ONLY: comp_spectra_level, data_output_sp, plot_spectra_level, & … … 175 161 CHARACTER (LEN=80) :: line !< 176 162 177 NAMELIST /canopy_par/ alpha_lad, beta_lad, canopy_drag_coeff, & 178 canopy_mode, cthf, & 179 lad_surface, & 180 lad_vertical_gradient, & 181 lad_vertical_gradient_level, & 182 lai_beta, & 183 leaf_scalar_exch_coeff, & 184 leaf_surface_conc, pch_index 163 185 164 186 165 NAMELIST /dvrp_graphics_par/ clip_dvrp_l, clip_dvrp_n, clip_dvrp_r, & … … 220 199 write_particle_statistics 221 200 222 NAMELIST /radiation_par/ albedo, albedo_type, albedo_lw_dir, &223 albedo_lw_dif, albedo_sw_dir, albedo_sw_dif, &224 constant_albedo, day_init, dt_radiation, &225 lambda, lw_radiation, net_radiation, &226 radiation_scheme, skip_time_do_radiation, &227 sw_radiation, time_utc_init, &228 unscheduled_radiation_calls229 230 201 NAMELIST /spectra_par/ averaging_interval_sp, comp_spectra_level, & 231 202 data_output_sp, dt_dosp, plot_spectra_level, & … … 237 208 !-- file at this line. Do the same for each optionally used package. 238 209 line = ' ' 239 240 !241 !-- Try to find canopy package242 REWIND ( 11 )243 line = ' '244 DO WHILE ( INDEX( line, '&canopy_par' ) == 0 )245 READ ( 11, '(A)', END=10 ) line246 ENDDO247 BACKSPACE ( 11 )248 249 !250 !-- Read user-defined namelist251 READ ( 11, canopy_par )252 253 !254 !-- Set flag that indicates that canopy model is switched on255 plant_canopy = .TRUE.256 257 !258 !-- Set flag that indicates that the lad-profile shall be calculated by using259 !-- a beta probability density function260 IF ( alpha_lad /= 9999999.9_wp .AND. beta_lad /= 9999999.9_wp ) &261 calc_beta_lad_profile = .TRUE.262 263 10 CONTINUE264 210 265 211 … … 317 263 318 264 319 !320 !-- Try to find radiation package321 REWIND ( 11 )322 line = ' '323 DO WHILE ( INDEX( line, '&radiation_par' ) == 0 )324 READ ( 11, '(A)', END=51 ) line325 ENDDO326 BACKSPACE ( 11 )327 328 !329 !-- Read user-defined namelist330 READ ( 11, radiation_par )331 332 !333 !-- Set flag that indicates that the radiation scheme is switched on334 radiation = .TRUE.335 336 51 CONTINUE337 265 338 266
Note: See TracChangeset
for help on using the changeset viewer.