Ignore:
Timestamp:
Nov 28, 2014, 4:36:29 PM (10 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes -r2070:2158 into testing branch. Compilation problems introduced by revision r2155 have been corrected by hand

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phylmd/rrtm/rrtm_ecrt_140gp.F90

    r2056 r2160  
    1010 & P_ZEMIS, P_ZEMIW,&
    1111 & pq   , pcco2, pozn, pcldf, ptaucld, ptclear,&
    12  & P_CLDFRAC,P_TAUCLD,P_COLDRY,P_WKL,P_WX,&
    13  & P_TAUAERL,PAVEL,P_TAVEL,PZ,P_TZ,P_TBOUND,K_NLAYERS,P_SEMISS,K_IREFLECT) 
     12 & P_CLDFRAC,P_TAUCLD,&
     13 & PTAU_LW,&
     14 & P_COLDRY,P_WKL,P_WX,&
     15 & P_TAUAERL,PAVEL,P_TAVEL,PZ,P_TZ,P_TBOUND,K_NLAYERS,P_SEMISS,K_IREFLECT ) 
    1416
    1517!     Reformatted for F90 by JJMorcrette, ECMWF, 980714
     
    2830USE PARRRTM  , ONLY : JPBAND   ,JPXSEC   ,JPLAY   ,&
    2931 & JPINPX 
    30 USE YOERAD   , ONLY : NOVLP
    31 !USE YOERDI   , ONLY :    RCH4     ,RN2O    ,RCFC11  ,RCFC12
     32USE YOERAD   , ONLY : NLW      ,NOVLP
     33USE YOERDI   , ONLY :    RCH4     ,RN2O    ,RCFC11  ,RCFC12
    3234USE YOESW    , ONLY : RAER
    3335
    3436!------------------------------Arguments--------------------------------
    3537
    36 
    37 
    3838IMPLICIT NONE
    3939
    40 #include "clesphys.h"
     40
    4141INTEGER(KIND=JPIM),INTENT(IN)    :: KLON! Number of atmospheres (longitudes)
    4242INTEGER(KIND=JPIM),INTENT(IN)    :: KLEV! Number of atmospheric layers
     
    5656REAL(KIND=JPRB)   ,INTENT(IN)    :: PCLDF(KLON,KLEV) ! Cloud fraction
    5757REAL(KIND=JPRB)   ,INTENT(IN)    :: PTAUCLD(KLON,KLEV,JPBAND) ! Cloud optical depth
     58!--C.Kleinschmitt
     59REAL(KIND=JPRB)   ,INTENT(IN)    :: PTAU_LW(KLON,KLEV,NLW) ! LW Optical depth of aerosols 
     60!--end
    5861REAL(KIND=JPRB)   ,INTENT(OUT)   :: PTCLEAR
    5962REAL(KIND=JPRB)   ,INTENT(OUT)   :: P_CLDFRAC(JPLAY) ! Cloud fraction
     
    258261  P_TAUAERL(I_L,16)=ZTAUAER(5)
    259262ENDDO
     263!--Use LW AOD from own Mie calculations (C. Kleinschmitt)
     264DO I_L=1,KLEV
     265  JK=KLEV-I_L+1
     266  DO JAE=1, NLW
     267    P_TAUAERL(I_L,JAE) = MAX( PTAU_LW(K_IPLON, JK, JAE), 1e-30 )
     268  ENDDO
     269ENDDO
     270!--end C. Kleinschmitt
    260271
    261272DO J2=1,KLEV
     
    390401!     ------------------------------------------------------------------
    391402
    392 
    393 
    394403IF (LHOOK) CALL DR_HOOK('RRTM_ECRT_140GP',1,ZHOOK_HANDLE)
    395404END SUBROUTINE RRTM_ECRT_140GP
Note: See TracChangeset for help on using the changeset viewer.