Changeset 2003 for LMDZ5/trunk/libf/phylmd/rrtm
- Timestamp:
- Apr 4, 2014, 2:51:02 PM (11 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd/rrtm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/rrtm/rrtm_taumol1.F90
r1990 r2003 189 189 190 190 IF (LHOOK) CALL DR_HOOK('RRTM_TAUMOL1',0,ZHOOK_HANDLE) 191 !--ajout OB 192 IF (K_LAYTROP.GT.100) THEN 193 PRINT *,'ATTENTION KLAY_TROP > 100 PROBLEME ARRAY DANS RRTM ON ARRETE' 194 STOP 195 !--fin ajout OB 196 ENDIF 191 197 DO I_LAY = 1, K_LAYTROP 192 198 IND0(I_LAY) = ((K_JP(I_LAY)-1)*5+(K_JT(I_LAY)-1))*NSPA(1) + 1 -
LMDZ5/trunk/libf/phylmd/rrtm/swclr.F90
r1990 r2003 5 5 & PRK , PRMU0 , PTAUAZ, PTRA1 , PTRA2 , PTRCLR, & 6 6 !++MODIFCODE 7 & L RDUST,PPIZA_DST, PCGA_DST, PTAUREL_DST )7 & LDDUST,PPIZA_DST, PCGA_DST, PTAU_DST ) 8 8 !--MODIFCODE 9 9 … … 58 58 ! Y.Seity 05-10-10 : add add 3 optional arg. for dust SW properties 59 59 ! Y.Seity 06-09-09 : add modset from O.Thouron (MesoNH) under NOVLP tests 60 ! O.Boucher fev.2014: modification sur les aerosols pour utiliser les variables DST 60 61 ! ------------------------------------------------------------------ 61 62 … … 71 72 72 73 IMPLICIT NONE 73 74 include "clesphys.h" 74 INCLUDE "clesphys.h" 75 75 76 76 INTEGER(KIND=JPIM),INTENT(IN) :: KLON … … 86 86 REAL(KIND=JPRB) ,INTENT(IN) :: PSEC(KLON) 87 87 !++MODIFCODE 88 LOGICAL ,INTENT(IN) :: L RDUST ! flag for DUST88 LOGICAL ,INTENT(IN) :: LDDUST ! flag for DUST 89 89 REAL(KIND=JPRB) ,INTENT(IN) :: PPIZA_DST(KLON,KLEV) 90 90 REAL(KIND=JPRB) ,INTENT(IN) :: PCGA_DST(KLON,KLEV) 91 REAL(KIND=JPRB) ,INTENT(IN) :: PTAU REL_DST(KLON,KLEV)91 REAL(KIND=JPRB) ,INTENT(IN) :: PTAU_DST(KLON,KLEV) 92 92 !--MODIFCODE 93 93 REAL(KIND=JPRB) ,INTENT(OUT) :: PCGAZ(KLON,KLEV) … … 157 157 158 158 !++MODIFCODE 159 !--OB on fait passer les aerosols LMDZ dans la variable DST 159 160 IF(NOVLP < 5)THEN !ECMWF VERSION 160 DO JAE=1,6161 ! DO JAE=1,6 161 162 DO JL = KIDIA,KFDIA 162 PTAUAZ(JL,JK)=PTAUAZ(JL,JK)+PAER(JL,JAE,IKL)*RTAUA(KNU,JAE) 163 PPIZAZ(JL,JK)=PPIZAZ(JL,JK)+PAER(JL,JAE,IKL)& 164 & * RTAUA(KNU,JAE)*RPIZA(KNU,JAE) 165 PCGAZ(JL,JK) = PCGAZ(JL,JK) +PAER(JL,JAE,IKL)& 166 & * RTAUA(KNU,JAE)*RPIZA(KNU,JAE)*RCGA(KNU,JAE) 163 ! PTAUAZ(JL,JK)=PTAUAZ(JL,JK)+PAER(JL,JAE,IKL)*RTAUA(KNU,JAE) 164 PTAUAZ(JL,JK)=PTAU_DST(JL,IKL) 165 ! PPIZAZ(JL,JK)=PPIZAZ(JL,JK)+PAER(JL,JAE,IKL)& 166 ! & * RTAUA(KNU,JAE)*RPIZA(KNU,JAE) 167 PPIZAZ(JL,JK)=PTAU_DST(JL,IKL)*PPIZA_DST(JL,IKL) 168 ! PCGAZ(JL,JK) = PCGAZ(JL,JK) +PAER(JL,JAE,IKL)& 169 ! & * RTAUA(KNU,JAE)*RPIZA(KNU,JAE)*RCGA(KNU,JAE) 170 PCGAZ(JL,JK)=PTAU_DST(JL,IKL)*PPIZA_DST(JL,IKL)*PCGA_DST(JL,IKL) 167 171 ENDDO 168 ENDDO172 ! ENDDO 169 173 ELSE ! MESONH VERSION 170 DO JAE=1,6 174 !--OB on utilise directement les aerosols LMDZ 175 ! DO JAE=1,6 171 176 DO JL = KIDIA,KFDIA 172 177 !Special optical properties for dust 173 IF (LRDUST.AND.(JAE==3)) THEN178 ! IF (LDDUST.AND.(JAE==3)) THEN 174 179 !Ponderation of aerosol optical properties:first step 175 180 !ti 176 PTAUAZ(JL,JK)=PTAUAZ(JL,JK) + PAER(JL,JAE,IKL) * PTAUREL_DST(JL,IKL) 181 ! PTAUAZ(JL,JK)=PTAUAZ(JL,JK) + PAER(JL,JAE,IKL) * PTAUREL_DST(JL,IKL) 182 PTAUAZ(JL,JK)= PTAU_DST(JL,IKL) 177 183 !wi*ti 178 PPIZAZ(JL,JK)=PPIZAZ(JL,JK) + PAER(JL,JAE,IKL) & 179 & *PTAUREL_DST(JL,IKL)*PPIZA_DST(JL,IKL) 184 ! PPIZAZ(JL,JK)=PPIZAZ(JL,JK) + PAER(JL,JAE,IKL) & 185 ! & *PTAUREL_DST(JL,IKL)*PPIZA_DST(JL,IKL) 186 PPIZAZ(JL,JK)=PTAU_DST(JL,IKL)*PPIZA_DST(JL,IKL) 180 187 !wi*ti*gi 181 PCGAZ(JL,JK) = PCGAZ(JL,JK) + PAER(JL,JAE,IKL) & 182 & *PTAUREL_DST(JL,IKL)*PPIZA_DST(JL,IKL)*PCGA_DST(JL,IKL) 188 ! PCGAZ(JL,JK) = PCGAZ(JL,JK) + PAER(JL,JAE,IKL) & 189 ! & *PTAUREL_DST(JL,IKL)*PPIZA_DST(JL,IKL)*PCGA_DST(JL,IKL) 190 PCGAZ(JL,JK) = PTAU_DST(JL,IKL)*PPIZA_DST(JL,IKL)*PCGA_DST(JL,IKL) 183 191 !wi*ti*(gi**2) 184 ZFACOA_NEW(JL,JK)= ZFACOA_NEW(JL,JK)+PAER(JL, JAE, IKL)& 185 & *PTAUREL_DST(JL,IKL) *PPIZA_DST(JL,IKL)*PCGA_DST(JL,IKL)*& 192 ! ZFACOA_NEW(JL,JK)= ZFACOA_NEW(JL,JK)+PAER(JL, JAE, IKL)& 193 ! & *PTAUREL_DST(JL,IKL) *PPIZA_DST(JL,IKL)*PCGA_DST(JL,IKL)*& 194 ! & PCGA_DST(JL,IKL) 195 ZFACOA_NEW(JL,JK)= ZFACOA_NEW(JL,JK)+& 196 & PTAU_DST(JL,IKL) *PPIZA_DST(JL,IKL)*PCGA_DST(JL,IKL)*& 186 197 & PCGA_DST(JL,IKL) 187 ELSE198 ! ELSE 188 199 !Ponderation of aerosol optical properties:first step 189 200 !ti 190 PTAUAZ(JL,JK)=PTAUAZ(JL,JK)+PAER(JL, JAE, IKL)*RTAUA(KNU,JAE)201 ! PTAUAZ(JL,JK)=PTAUAZ(JL,JK)+PAER(JL, JAE, IKL)*RTAUA(KNU,JAE) 191 202 !wi*ti 192 PPIZAZ(JL,JK)=PPIZAZ(JL,JK)+PAER(JL, JAE, IKL)&193 &* RTAUA(KNU,JAE)*RPIZA(KNU,JAE)203 ! PPIZAZ(JL,JK)=PPIZAZ(JL,JK)+PAER(JL, JAE, IKL)& 204 ! &* RTAUA(KNU,JAE)*RPIZA(KNU,JAE) 194 205 !wi*ti*gi 195 PCGAZ(JL,JK) = PCGAZ(JL,JK) +PAER(JL, JAE, IKL)&196 &* RTAUA(KNU,JAE)*RPIZA(KNU,JAE)*RCGA(KNU,JAE)206 ! PCGAZ(JL,JK) = PCGAZ(JL,JK) +PAER(JL, JAE, IKL)& 207 ! &* RTAUA(KNU,JAE)*RPIZA(KNU,JAE)*RCGA(KNU,JAE) 197 208 !wi*ti*(gi**2) 198 ZFACOA_NEW(JL,JK)= ZFACOA_NEW(JL,JK)+PAER(JL, JAE, IKL)&199 &* RTAUA(KNU,JAE)*RPIZA(KNU,JAE)*RCGA(KNU,JAE)*RCGA(KNU,JAE)200 ENDIF209 ! ZFACOA_NEW(JL,JK)= ZFACOA_NEW(JL,JK)+PAER(JL, JAE, IKL)& 210 ! &* RTAUA(KNU,JAE)*RPIZA(KNU,JAE)*RCGA(KNU,JAE)*RCGA(KNU,JAE) 211 ! ENDIF 201 212 ENDDO 202 ENDDO213 ! ENDDO 203 214 ENDIF 204 215 !--MODIFCODE
Note: See TracChangeset
for help on using the changeset viewer.