Changeset 5185 for LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver
- Timestamp:
- Sep 11, 2024, 4:27:07 PM (12 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/ecrad_driver.F90
r5159 r5185 200 200 end if 201 201 202 if (driver_config%do_save_cloud_optics . and. config%use_general_cloud_optics) then202 if (driver_config%do_save_cloud_optics .AND. config%use_general_cloud_optics) then 203 203 call save_general_cloud_optics(config, 'hydrometeor_optics', iverbose=driver_config%iverbose) 204 204 end if -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/ecrad_driver_config.F90
r5159 r5185 355 355 356 356 if (do_override_eff_size & 357 & . and. (this%high_inv_effective_size_override < 0.0_jprb &357 & .AND. (this%high_inv_effective_size_override < 0.0_jprb & 358 358 .or. this%middle_inv_effective_size_override < 0.0_jprb & 359 359 .or. this%low_inv_effective_size_override < 0.0_jprb)) then -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/ecrad_driver_read_input.F90
r5159 r5185 103 103 else 104 104 single_level%solar_irradiance = 1366.0_jprb 105 if (driver_config%iverbose >= 1 . and. config%do_sw) then105 if (driver_config%iverbose >= 1 .AND. config%do_sw) then 106 106 write(nulout,'(a,g10.3,a)') 'Warning: solar irradiance set to ', & 107 107 & single_level%solar_irradiance, ' W m-2' … … 204 204 ! Optional scaling of liquid water mixing ratio 205 205 if (driver_config%q_liq_scaling >= 0.0_jprb & 206 & . and. driver_config%q_liq_scaling /= 1.0_jprb) then206 & .AND. driver_config%q_liq_scaling /= 1.0_jprb) then 207 207 cloud%q_liq = cloud%q_liq * driver_config%q_liq_scaling 208 208 if (driver_config%iverbose >= 2) then … … 213 213 214 214 ! Optional scaling of ice water mixing ratio 215 if (driver_config%q_ice_scaling >= 0.0_jprb . and. driver_config%q_ice_scaling /= 1.0_jprb) then215 if (driver_config%q_ice_scaling >= 0.0_jprb .AND. driver_config%q_ice_scaling /= 1.0_jprb) then 216 216 cloud%q_ice = cloud%q_ice * driver_config%q_ice_scaling 217 217 if (driver_config%iverbose >= 2) then … … 223 223 ! Optional scaling of cloud fraction 224 224 if (driver_config%cloud_fraction_scaling >= 0.0_jprb & 225 & . and. driver_config%cloud_fraction_scaling /= 1.0_jprb) then225 & .AND. driver_config%cloud_fraction_scaling /= 1.0_jprb) then 226 226 cloud%fraction = cloud%fraction * driver_config%cloud_fraction_scaling 227 227 if (driver_config%iverbose >= 2) then … … 332 332 333 333 else if (driver_config%cloud_separation_scale_surface > 0.0_jprb & 334 & . and. driver_config%cloud_separation_scale_toa > 0.0_jprb) then334 & .AND. driver_config%cloud_separation_scale_toa > 0.0_jprb) then 335 335 ! (2) Cloud separation scale provided in namelist 336 336 … … 386 386 allocate(cloud%inv_inhom_effective_size(ncol,nlev)) 387 387 where (cloud%fraction > config%cloud_fraction_threshold & 388 & . and. cloud%fraction < 1.0_jprb - config%cloud_fraction_threshold)388 & .AND. cloud%fraction < 1.0_jprb - config%cloud_fraction_threshold) 389 389 ! Convert effective cloud separation to effective cloud 390 390 ! size, noting divisions rather than multiplications … … 442 442 ! In cases (3) and (4) above the effective size obtained from 443 443 ! the NetCDF may be scaled by a namelist variable 444 if (is_cloud_size_scalable . and. driver_config%effective_size_scaling > 0.0_jprb) then444 if (is_cloud_size_scalable .AND. driver_config%effective_size_scaling > 0.0_jprb) then 445 445 ! Scale cloud effective size 446 446 cloud%inv_cloud_effective_size = cloud%inv_cloud_effective_size & … … 477 477 allocate(single_level%skin_temperature(ncol)) 478 478 single_level%skin_temperature(1:ncol) = thermodynamics%temperature_hl(1:ncol,nlev+1) 479 if (driver_config%iverbose >= 1 . and. config%do_lw &480 & . and. driver_config%skin_temperature_override < 0.0_jprb) then479 if (driver_config%iverbose >= 1 .AND. config%do_lw & 480 & .AND. driver_config%skin_temperature_override < 0.0_jprb) then 481 481 write(nulout,'(a)') 'Warning: skin temperature set equal to lowest air temperature' 482 482 end if -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/ifs_blocking.F90
r5159 r5185 73 73 lldebug=(driver_config%iverbose>4) ! debug 74 74 llactaero = .false. 75 if(yradiation%rad_config%n_aerosol_types > 0 . and.&76 & yradiation%rad_config%n_aerosol_types <= 21 . and. yradiation%yrerad%naermacc == 0) then75 if(yradiation%rad_config%n_aerosol_types > 0 .AND.& 76 & yradiation%rad_config%n_aerosol_types <= 21 .AND. yradiation%yrerad%naermacc == 0) then 77 77 llactaero = .true. 78 78 endif … … 121 121 ifs_config%ihti =indrad(inext,nlev+1,.true.) 122 122 ifs_config%iaero =indrad(inext,yradiation%rad_config%n_aerosol_types*nlev,& 123 & llactaero . and. yradiation%yrerad%naermacc==0)123 & llactaero .AND. yradiation%yrerad%naermacc==0) 124 124 125 125 iinend =inext-1 ! end of input variables
Note: See TracChangeset
for help on using the changeset viewer.