Changeset 4188 for LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad
- Timestamp:
- Jun 29, 2022, 9:23:14 AM (3 years ago)
- Location:
- LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/radiation_aerosol_optics.F90
r4182 r4188 89 89 & IAerosolClassUndefined, IAerosolClassIgnored, & 90 90 & IAerosolClassHydrophobic, IAerosolClassHydrophilic 91 USE phys_local_var_mod, ONLY: rhcl 91 92 92 93 integer, intent(in) :: nlev ! number of model levels … … 187 188 end if 188 189 189 call gas%get(IH2O, IMassMixingRatio, h2o_mmr, istartcol=istartcol) 190 !AI juin 2022 191 !call gas%get(IH2O, IMassMixingRatio, h2o_mmr, istartcol=istartcol) 190 192 191 193 ! Loop over position … … 195 197 ! saturation and the index to the relative-humidity index of 196 198 ! hydrophilic-aerosol data 197 rh = h2o_mmr(jcol,jlev) / thermodynamics%h2o_sat_liq(jcol,jlev) 198 irh = ao%calc_rh_index(rh) 199 ! AI juin 2022 200 ! rh = h2o_mmr(jcol,jlev) / thermodynamics%h2o_sat_liq(jcol,jlev) 201 ! irh = ao%calc_rh_index(rh) 202 irh = ao%calc_rh_index(rhcl(jcol,jlev)) 203 ! print*,'irh=',irh 199 204 200 205 factor = ( thermodynamics%pressure_hl(jcol,jlev+1) & -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/radiation_scheme.F90
r4115 r4188 13 13 SUBROUTINE RADIATION_SCHEME & 14 14 ! Inputs 15 & (KIDIA, KFDIA, KLON, KLEV, KAERO LMDZ, NSW, &15 & (KIDIA, KFDIA, KLON, KLEV, KAEROSOL, NSW, & 16 16 & IDAY, TIME, & 17 17 & PSOLAR_IRRADIANCE, & … … 117 117 INTEGER(KIND=JPIM),INTENT(IN) :: KLEV ! Number of levels 118 118 !INTEGER, INTENT(IN) :: KLON, KLEV 119 INTEGER(KIND=JPIM),INTENT(IN) :: KAEROLMDZ ! Number of aerosol types 119 !INTEGER(KIND=JPIM),INTENT(IN) :: KAEROLMDZ ! Number of aerosol types 120 INTEGER(KIND=JPIM),INTENT(IN) :: KAEROSOL 120 121 INTEGER(KIND=JPIM),INTENT(IN) :: NSW ! Numbe of bands 121 122 122 123 ! AI ATTENTION 123 INTEGER, PARAMETER :: KAEROSOL = 12124 !INTEGER, PARAMETER :: KAEROSOL = 12 124 125 125 126 ! *** Single-level fields … … 313 314 if (lprint_input) then 314 315 print*,'********** Verification des entrees *************' 315 print*,'KIDIA, KFDIA, KLON, KLEV, KAERO LMDZ, NSW =', &316 KIDIA, KFDIA, KLON, KLEV, KAERO LMDZ, NSW316 print*,'KIDIA, KFDIA, KLON, KLEV, KAEROSOL, NSW =', & 317 KIDIA, KFDIA, KLON, KLEV, KAEROSOL, NSW 317 318 print*,'IDAY, TIME =', IDAY, TIME 318 319 print*,'PSOLAR_IRRADIANCE =', PSOLAR_IRRADIANCE … … 510 511 511 512 print*,'******** AEROSOLS (allocate + input) **************************************' 512 IF (NAERMACC > 0) THEN513 !IF (NAERMACC > 0) THEN 513 514 CALL aerosol%allocate(KLON, 1, KLEV, KAEROSOL) ! MACC climatology 514 ELSE515 CALL aerosol%allocate(KLON, 1, KLEV, 6) ! Tegen climatology516 ENDIF515 !ELSE 516 ! CALL aerosol%allocate(KLON, 1, KLEV, 6) ! Tegen climatology 517 !ENDIF 517 518 ! Compute the dry mass of each layer neglecting humidity effects, in 518 519 ! kg m-2, needed to scale some of the aerosol inputs -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/radiation_setup.F90
r4115 r4188 238 238 ! hydrophobic black carbon, 11 ammonium sulphate, 12 inactive 239 239 ! SO2 240 rad_config%n_aerosol_types = 12241 if (lprint_setp) then242 print*,'rad_config%n_aerosol_types =', rad_config%n_aerosol_types243 endif240 ! rad_config%n_aerosol_types = 12 241 ! if (lprint_setp) then 242 ! print*,'rad_config%n_aerosol_types =', rad_config%n_aerosol_types 243 ! endif 244 244 245 245 ! Indices to the aerosol optical properties in … … 247 247 ! index hydrophilic aerosol types and positive numbers index 248 248 ! hydrophobic aerosol types 249 rad_config%i_aerosol_type_map = 0 ! There can be up to 256 types249 ! rad_config%i_aerosol_type_map = 0 ! There can be up to 256 types 250 250 ! if (lprint_setp) then 251 251 ! print*,'rad_config%i_aerosol_type_map =', rad_config%i_aerosol_type_map 252 252 ! endif 253 253 254 rad_config%i_aerosol_type_map(1:12) = (/ &255 & -1, & ! Sea salt, size bin 1 (OPAC)256 & -2, & ! Sea salt, size bin 2 (OPAC)257 & -3, & ! Sea salt, size bin 3 (OPAC)258 & 7, & ! Desert dust, size bin 1 (Woodward 2001)259 & 8, & ! Desert dust, size bin 2 (Woodward 2001)260 & 9, & ! Desert dust, size bin 3 (Woodward 2001)261 & -4, & ! Hydrophilic organic matter (OPAC)262 & 10, & ! Hydrophobic organic matter (OPAC)263 & 11, & ! Black carbon (Boucher)264 & 11, & ! Black carbon (Boucher)265 & -5, & ! Ammonium sulphate (OPAC)266 & 14 /) ! Stratospheric sulphate (hand edited from OPAC)254 ! rad_config%i_aerosol_type_map(1:12) = (/ & 255 ! & -1, & ! Sea salt, size bin 1 (OPAC) 256 ! & -2, & ! Sea salt, size bin 2 (OPAC) 257 ! & -3, & ! Sea salt, size bin 3 (OPAC) 258 ! & 7, & ! Desert dust, size bin 1 (Woodward 2001) 259 ! & 8, & ! Desert dust, size bin 2 (Woodward 2001) 260 ! & 9, & ! Desert dust, size bin 3 (Woodward 2001) 261 ! & -4, & ! Hydrophilic organic matter (OPAC) 262 ! & 10, & ! Hydrophobic organic matter (OPAC) 263 ! & 11, & ! Black carbon (Boucher) 264 ! & 11, & ! Black carbon (Boucher) 265 ! & -5, & ! Ammonium sulphate (OPAC) 266 ! & 14 /) ! Stratospheric sulphate (hand edited from OPAC) 267 267 ! if (lprint_setp) then 268 268 ! print*,'rad_config%i_aerosol_type_map =', rad_config%i_aerosol_type_map … … 433 433 & 'photosynthetically active radiation, PAR') 434 434 435 rad_config%i_aerosol_type_map(1:13) = (/ & 436 & -1, & ! Sea salt, size bin 1 (OPAC) 437 & -2, & ! Sea salt, size bin 2 (OPAC) 438 & -3, & ! Sea salt, size bin 3 (OPAC) 439 & -4, & ! Hydrophilic organic matter (OPAC) 440 & -5, & ! Ammonium sulphate (OPAC) 441 & -6, & 442 & -7, & 443 & 1, & 444 & 2, & 445 & 3, & 446 & -8, & 447 & -9, & 448 & 4 /) ! Stratospheric sulphate (hand edited from OPAC) 449 rad_config%aerosol_optics_override_file_name = 'aerosol_optics_lmdz.nc' 450 435 451 ! IF (YRERAD%NAERMACC > 0) THEN 436 452 ! With the MACC aerosol climatology we need to add in the
Note: See TracChangeset
for help on using the changeset viewer.