Changeset 2530 for LMDZ5/trunk
- Timestamp:
- May 31, 2016, 1:34:05 PM (8 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/conf_phys_m.F90
r2524 r2530 76 76 LOGICAL :: ok_ade, ok_aie, ok_cdnc, aerosol_couple 77 77 INTEGER :: flag_aerosol 78 LOGICAL:: flag_aerosol_strat78 INTEGER :: flag_aerosol_strat 79 79 LOGICAL :: new_aod 80 80 REAL :: bl95_b0, bl95_b1 … … 94 94 LOGICAL,SAVE :: ok_ade_omp, ok_aie_omp, ok_cdnc_omp, aerosol_couple_omp 95 95 INTEGER, SAVE :: flag_aerosol_omp 96 LOGICAL, SAVE :: flag_aerosol_strat_omp96 INTEGER, SAVE :: flag_aerosol_strat_omp 97 97 LOGICAL, SAVE :: new_aod_omp 98 98 REAL,SAVE :: bl95_b0_omp, bl95_b1_omp … … 386 386 ! 387 387 !Config Key = flag_aerosol_strat 388 !Config Desc = use stratospheric aerosols T/F 389 !Config Def = false 388 !Config Desc = use stratospheric aerosols 0, 1, 2 389 ! - 0 = no stratospheric aerosols 390 ! - 1 = stratospheric aerosols scaled from 550 nm AOD 391 ! - 2 = stratospheric aerosol properties from CMIP6 392 !Config Def = 0 390 393 !Config Help = Used in physiq.F 391 394 ! 392 395 ! 393 flag_aerosol_strat_omp = .false.396 flag_aerosol_strat_omp = 0 394 397 CALL getin('flag_aerosol_strat',flag_aerosol_strat_omp) 395 398 -
LMDZ5/trunk/libf/phylmd/phys_output_mod.F90
r2492 r2530 81 81 INTEGER :: nlevSTD, radpas 82 82 LOGICAL :: ok_mensuel, ok_journe, ok_hf, ok_instan 83 LOGICAL :: ok_LES,ok_ade,ok_aie,flag_aerosol_strat 83 LOGICAL :: ok_LES,ok_ade,ok_aie 84 INTEGER :: flag_aerosol_strat 84 85 LOGICAL :: new_aod, aerosol_couple 85 86 INTEGER, INTENT(IN):: read_climoz ! read ozone climatology -
LMDZ5/trunk/libf/phylmd/phys_output_write_mod.F90
r2517 r2530 302 302 REAL, DIMENSION(klon,klev,nqtot) :: qx, d_qx 303 303 REAL, DIMENSION(klon, klev) :: zmasse 304 LOGICAL:: flag_aerosol_strat304 INTEGER :: flag_aerosol_strat 305 305 INTEGER :: flag_aerosol 306 306 LOGICAL :: ok_cdnc … … 943 943 !--STRAT AER 944 944 ENDIF 945 IF (flag_aerosol.GT.0.OR.flag_aerosol_strat ) THEN945 IF (flag_aerosol.GT.0.OR.flag_aerosol_strat.GT.0) THEN 946 946 ! DO naero = 1, naero_spc 947 947 !--correction mini bug OB … … 951 951 END DO 952 952 ENDIF 953 IF (flag_aerosol_strat ) THEN953 IF (flag_aerosol_strat.GT.0) THEN 954 954 CALL histwrite_phy(o_tausumaero_lw, & 955 955 tausum_aero(:,6,id_STRAT_phy) ) -
LMDZ5/trunk/libf/phylmd/physiq_mod.F90
r2529 r2530 833 833 ! 834 834 !--STRAT AEROSOL 835 LOGICAL, SAVE :: flag_aerosol_strat835 INTEGER, SAVE :: flag_aerosol_strat 836 836 !$OMP THREADPRIVATE(flag_aerosol_strat) 837 837 !c-fin STRAT AEROSOL … … 3066 3066 !--STRAT AEROSOL 3067 3067 !--updates tausum_aero,tau_aero,piz_aero,cg_aero 3068 IF (flag_aerosol_strat ) THEN3068 IF (flag_aerosol_strat.GT.0) THEN 3069 3069 IF (prt_level .GE.10) THEN 3070 3070 PRINT *,'appel a readaerosolstrat', mth_cur 3071 3071 ENDIF 3072 3072 IF (iflag_rrtm.EQ.0) THEN 3073 IF (flag_aerosol_strat.EQ.1) THEN 3073 3074 CALL readaerosolstrato(debut) 3075 ELSE 3076 abort_message='flag_aerosol_strat must equal 1 for rrtm=0' 3077 call abort_physic(modname,abort_message,1) 3078 ENDIF 3074 3079 ELSE 3075 3080 #ifdef CPP_RRTM 3076 3081 CALL readaerosolstrato_rrtm(debut) 3077 3082 #else 3078 3079 3083 abort_message='You should compile with -rrtm if running ' & 3080 3084 // 'with iflag_rrtm=1' … … 3484 3488 t_seri,q_seri,wo, & 3485 3489 cldfrarad, cldemirad, cldtaurad, & 3486 ok_ade.OR.flag_aerosol_strat , ok_aie, flag_aerosol, &3490 ok_ade.OR.flag_aerosol_strat.GT.0, ok_aie, flag_aerosol, & 3487 3491 flag_aerosol_strat, & 3488 3492 tau_aero, piz_aero, cg_aero, & … … 3546 3550 t_seri,q_seri,wo, & 3547 3551 cldfra, cldemi, cldtau, & 3548 ok_ade.OR.flag_aerosol_strat , ok_aie, flag_aerosol, &3552 ok_ade.OR.flag_aerosol_strat.GT.0, ok_aie, flag_aerosol, & 3549 3553 flag_aerosol_strat, & 3550 3554 tau_aero, piz_aero, cg_aero, & -
LMDZ5/trunk/libf/phylmd/radlwsw_m.F90
r2413 r2530 101 101 ! ok_aie---input-L- apply the Aerosol Indirect Effect or not? 102 102 ! flag_aerosol-input-I- aerosol flag from 0 to 6 103 ! flag_aerosol_strat-input-I- use stratospheric aerosols flag ( T/F)103 ! flag_aerosol_strat-input-I- use stratospheric aerosols flag (0, 1, 2) 104 104 ! tau_ae, piz_ae, cg_ae-input-R- aerosol optical properties (calculated in aeropt.F) 105 105 ! cldtaupi-input-R- epaisseur optique des nuages dans le visible … … 190 190 LOGICAL :: lldebug 191 191 INTEGER, INTENT(in) :: flag_aerosol ! takes value 0 (no aerosol) or 1 to 6 (aerosols) 192 LOGICAL, INTENT(in) :: flag_aerosol_strat ! use stratospheric aerosols192 INTEGER, INTENT(in) :: flag_aerosol_strat ! use stratospheric aerosols 193 193 REAL, INTENT(in) :: cldfra(KLON,KLEV), cldemi(KLON,KLEV), cldtaupd(KLON,KLEV) 194 194 REAL, INTENT(in) :: tau_aero(KLON,KLEV,naero_grp,2) ! aerosol optical properties (see aeropt.F) -
LMDZ5/trunk/libf/phylmd/sw_aeroAR4.F90
r2394 r2530 139 139 140 140 LOGICAL ok_ade, ok_aie ! use aerosol forcings or not? 141 LOGICALflag_aerosol_strat ! use stratospehric aerosols141 INTEGER flag_aerosol_strat ! use stratospehric aerosols 142 142 INTEGER flag_aerosol ! global flag for aerosol 0 (no aerosol) or 1-5 (aerosols) 143 143 REAL(KIND=8) tauaero(kdlon,kflev,naero_grp,2) ! aerosol optical properties … … 309 309 ENDIF ! swaero_diag .or. .not. AEROSOLFEEDBACK_ACTIVE 310 310 311 IF (flag_aerosol .GT. 0 .OR. flag_aerosol_strat) THEN311 IF (flag_aerosol.GT.0 .OR. flag_aerosol_strat.GT.0) THEN 312 312 313 313 IF (ok_ade.and.swaero_diag .or. .not. ok_ade) THEN … … 500 500 ENDIF ! ok_aie 501 501 502 ENDIF !--if flag_aerosol GT 0 OR flag_aerosol_strat 502 ENDIF !--if flag_aerosol GT 0 OR flag_aerosol_strat GT 0 503 503 504 504 itapsw = 0 … … 506 506 itapsw = itapsw + 1 507 507 508 IF ( AEROSOLFEEDBACK_ACTIVE .AND. (flag_aerosol .GT. 0 .OR. flag_aerosol_strat) ) THEN508 IF ( AEROSOLFEEDBACK_ACTIVE .AND. (flag_aerosol.GT.0 .OR. flag_aerosol_strat.GT.0) ) THEN 509 509 IF ( ok_ade .and. ok_aie ) THEN 510 510 ZFSUP(:,:) = ZFSUP_AERO(:,:,4)
Note: See TracChangeset
for help on using the changeset viewer.