Changeset 2408 for LMDZ5/branches/testing/libf/phylmd/radlwsw_m.F90
- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/radlwsw_m.F90
r2258 r2408 24 24 qsat, flwc, fiwc, & 25 25 ref_liq, ref_ice, ref_liq_pi, ref_ice_pi, & 26 heat,heat0,cool,cool0, radsol,albpla,&26 heat,heat0,cool,cool0,albpla,& 27 27 topsw,toplw,solsw,sollw,& 28 28 sollwdown,& … … 48 48 USE DIMPHY 49 49 USE assert_m, ONLY : assert 50 USE infotrac , ONLY : type_trac50 USE infotrac_phy, ONLY : type_trac 51 51 USE write_field_phy 52 52 #ifdef REPROBUS … … 77 77 USE YOERRTWN , ONLY : DELWAVE ,TOTPLNK 78 78 USE YOMPHY3 , ONLY : RII0 79 #else80 USE aero_mod, ONLY : nbands_lw_rrtm81 79 #endif 80 USE aero_mod 82 81 83 82 !====================================================================== … … 111 110 ! heat-----output-R- echauffement atmospherique (visible) (K/jour) 112 111 ! cool-----output-R- refroidissement dans l'IR (K/jour) 113 ! radsol---output-R- bilan radiatif net au sol (W/m**2) (+ vers le bas)114 112 ! albpla---output-R- albedo planetaire (entre 0 et 1) 115 113 ! topsw----output-R- flux solaire net au sommet de l'atm. … … 171 169 include "YOMCST.h" 172 170 include "clesphys.h" 173 include "iniprint.h"174 171 175 172 ! Input arguments … … 195 192 LOGICAL, INTENT(in) :: flag_aerosol_strat ! use stratospheric aerosols 196 193 REAL, INTENT(in) :: cldfra(KLON,KLEV), cldemi(KLON,KLEV), cldtaupd(KLON,KLEV) 197 REAL, INTENT(in) :: tau_aero(KLON,KLEV, 9,2) ! aerosol optical properties (see aeropt.F)198 REAL, INTENT(in) :: piz_aero(KLON,KLEV, 9,2) ! aerosol optical properties (see aeropt.F)199 REAL, INTENT(in) :: cg_aero(KLON,KLEV, 9,2) ! aerosol optical properties (see aeropt.F)194 REAL, INTENT(in) :: tau_aero(KLON,KLEV,naero_grp,2) ! aerosol optical properties (see aeropt.F) 195 REAL, INTENT(in) :: piz_aero(KLON,KLEV,naero_grp,2) ! aerosol optical properties (see aeropt.F) 196 REAL, INTENT(in) :: cg_aero(KLON,KLEV,naero_grp,2) ! aerosol optical properties (see aeropt.F) 200 197 !--OB 201 198 REAL, INTENT(in) :: tau_aero_sw_rrtm(KLON,KLEV,2,NSW) ! aerosol optical properties RRTM … … 225 222 REAL, INTENT(out) :: heat(KLON,KLEV), cool(KLON,KLEV) 226 223 REAL, INTENT(out) :: heat0(KLON,KLEV), cool0(KLON,KLEV) 227 REAL, INTENT(out) :: radsol(KLON),topsw(KLON), toplw(KLON)224 REAL, INTENT(out) :: topsw(KLON), toplw(KLON) 228 225 REAL, INTENT(out) :: solsw(KLON), sollw(KLON), albpla(KLON) 229 226 REAL, INTENT(out) :: topsw0(KLON), toplw0(KLON), solsw0(KLON), sollw0(KLON) … … 293 290 REAL(KIND=8) zsolsw0(kdlon), zsollw0(kdlon) 294 291 REAL(KIND=8) zznormcp 295 REAL(KIND=8) tauaero(kdlon,kflev, 9,2) ! aer opt properties296 REAL(KIND=8) pizaero(kdlon,kflev, 9,2)297 REAL(KIND=8) cgaero(kdlon,kflev, 9,2)292 REAL(KIND=8) tauaero(kdlon,kflev,naero_grp,2) ! aer opt properties 293 REAL(KIND=8) pizaero(kdlon,kflev,naero_grp,2) 294 REAL(KIND=8) cgaero(kdlon,kflev,naero_grp,2) 298 295 REAL(KIND=8) PTAUA(kdlon,2,kflev) ! present-day value of cloud opt thickness (PTAU is pre-industrial value), local use 299 296 REAL(KIND=8) POMEGAA(kdlon,2,kflev) ! dito for single scatt albedo … … 393 390 IF (nb_gr*kdlon .NE. KLON) THEN 394 391 PRINT*, "kdlon mauvais:", KLON, kdlon, nb_gr 395 call abort_ gcm("radlwsw", "", 1)392 call abort_physic("radlwsw", "", 1) 396 393 ENDIF 397 394 IF (kflev .NE. KLEV) THEN 398 395 PRINT*, "kflev differe de KLEV, kflev, KLEV" 399 call abort_ gcm("radlwsw", "", 1)396 call abort_physic("radlwsw", "", 1) 400 397 ENDIF 401 398 !------------------------------------------- … … 1000 997 zalbpla(i) = ZFSUP(i,klev+1)/ZFSDN(i,klev+1) 1001 998 ENDIF 1002 zsollwdown(i)= ZFLDN(i,1) 999 !!! 5 juin 2015 1000 !!! Correction MP bug RRTM 1001 zsollwdown(i)= -1.*ZFLDN(i,1) 1003 1002 ENDDO 1004 1003 ! print*,'OK2' … … 1025 1024 #else 1026 1025 abort_message="You should compile with -rrtm if running with iflag_rrtm=1" 1027 call abort_ gcm(modname, abort_message, 1)1026 call abort_physic(modname, abort_message, 1) 1028 1027 #endif 1029 1028 ENDIF ! iflag_rrtm … … 1031 1030 1032 1031 DO i = 1, kdlon 1033 radsol(iof+i) = zsolsw(i) + zsollw(i)1034 1032 topsw(iof+i) = ztopsw(i) 1035 1033 toplw(iof+i) = ztoplw(i)
Note: See TracChangeset
for help on using the changeset viewer.