- Timestamp:
- Aug 2, 2024, 9:58:25 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/rrtm/aeropt_lw_rrtm.F90
r5154 r5159 1 ! 1 2 2 ! aeropt_lw_rrtm.F90 2014-05-13 C. Kleinschmitt 3 3 ! 2016-05-03 O. Boucher 4 4 ! 2016-12-17 O. Boucher 5 ! 5 6 6 ! This routine feeds aerosol LW properties to RRTM 7 7 ! we only consider absorption (not scattering) … … 20 20 IMPLICIT NONE 21 21 22 ! 22 23 23 ! Input arguments: 24 ! 24 25 25 LOGICAL, INTENT(IN) :: ok_alw 26 26 INTEGER, INTENT(IN) :: flag_aerosol 27 27 REAL, DIMENSION(klon,klev), INTENT(IN) :: pdel, zrho 28 28 REAL, DIMENSION(klon,klev,naero_tot), INTENT(IN) :: m_allaer, m_allaer_pi 29 ! 29 30 30 INTEGER inu, i, k 31 31 REAL :: zdh(klon,klev) 32 32 REAL :: tmp_var, tmp_var_pi 33 33 CHARACTER*20 modname 34 ! 34 35 35 !--absorption coefficient for CIDUST 36 36 REAL:: alpha_abs_CIDUST_16bands(nbands_lw_rrtm) !--unit m2/g … … 38 38 0.001, 0.003, 0.005, 0.006, 0.012, 0.030, 0.148, 0.098, & 39 39 0.017, 0.053, 0.031, 0.008, 0.010, 0.011, 0.013, 0.015 / 40 ! 40 41 41 modname='aeropt_lw_rrtm' 42 ! 42 43 43 IF (NLW.NE.nbands_lw_rrtm) THEN 44 44 CALL abort_physic(modname,'Erreur NLW doit etre egal a 16 pour cette routine',1) … … 46 46 ! 47 47 IF (ok_alw) THEN !--aerosol LW effects 48 ! 48 49 49 IF (flag_aerosol.EQ.5.OR.flag_aerosol.EQ.6.OR.flag_aerosol.EQ.7) THEN !-Dust 50 ! 50 51 51 zdh(:,:)=pdel(:,:)/(RG*zrho(:,:)) ! m 52 ! 52 53 53 DO k=1, klev 54 54 DO i=1, klon 55 ! 55 56 56 tmp_var =m_allaer(i,k,id_CIDUSTM_phy) /1.e6*zdh(i,k) !--g/m2 57 57 tmp_var_pi=m_allaer_pi(i,k,id_CIDUSTM_phy)/1.e6*zdh(i,k) !--g/m2 58 ! 58 59 59 DO inu=1, NLW 60 ! 60 61 61 !--total aerosol 62 62 tau_aero_lw_rrtm(i,k,2,inu) = MAX(1.e-15,tmp_var*alpha_abs_CIDUST_16bands(inu)) … … 64 64 ! tau_aero_lw_rrtm(:,:,1,inu) = MAX(1.e-15,tmp_var_pi*alpha_abs_CIDUST_16bands(inu)) 65 65 tau_aero_lw_rrtm(i,k,1,inu) = 1.e-15 !--test 66 ! 66 67 67 ENDDO 68 68 ENDDO 69 ! 69 70 70 ENDDO 71 71 ! 72 72 ENDIF 73 ! 73 74 74 ELSE !--no aerosol LW effects 75 ! 75 76 76 tau_aero_lw_rrtm = 1.e-15 77 77 ENDIF 78 ! 78 79 79 END SUBROUTINE AEROPT_LW_RRTM
Note: See TracChangeset
for help on using the changeset viewer.