Ignore:
Timestamp:
Feb 10, 2020, 11:04:40 AM (4 years ago)
Author:
Laurent Fairhead
Message:

Parameter new_aod is not needed anymore as it is assumed to be true
all the time. This means that we cannot replay AR4 simulations with new
LMDZ sources (we probably couldn't anyway)
LF, OB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/Dust/phys_output_write_spl_mod.F90

    r3332 r3630  
    8585  SUBROUTINE phys_output_write_spl(itap, pdtphys, paprs, pphis, &
    8686       pplay, lmax_th, aerosol_couple,         &
    87        ok_ade, ok_aie, ivap, new_aod, ok_sync, &
     87       ok_ade, ok_aie, ivap, ok_sync, &
    8888       ptconv, read_climoz, clevSTD, ptconvth, &
    8989       d_t, qx, d_qx, d_tr_dyn, zmasse, flag_aerosol, flag_aerosol_strat, ok_cdnc)
     
    405405    INTEGER, DIMENSION(klon) :: lmax_th
    406406    LOGICAL :: aerosol_couple, ok_sync
    407     LOGICAL :: ok_ade, ok_aie, new_aod
    408407    LOGICAL, DIMENSION(klon, klev) :: ptconv, ptconvth
    409408    REAL :: pdtphys
     
    994993!--OLIVIER
    995994!This is warranted by treating INCA aerosols as offline aerosols
    996 !       IF (new_aod .and. (.not. aerosol_couple)) THEN
    997        IF (new_aod) THEN
    998           IF (flag_aerosol.GT.0) THEN
    999              CALL histwrite_phy(o_od550aer, od550aer)
    1000              CALL histwrite_phy(o_od865aer, od865aer)
    1001              CALL histwrite_phy(o_absvisaer, absvisaer)
    1002              CALL histwrite_phy(o_od550lt1aer, od550lt1aer)
    1003              CALL histwrite_phy(o_sconcso4, sconcso4)
    1004              CALL histwrite_phy(o_sconcno3, sconcno3)
    1005              CALL histwrite_phy(o_sconcoa, sconcoa)
    1006              CALL histwrite_phy(o_sconcbc, sconcbc)
    1007              CALL histwrite_phy(o_sconcss, sconcss)
    1008              CALL histwrite_phy(o_sconcdust, sconcdust)
    1009              CALL histwrite_phy(o_concso4, concso4)
    1010              CALL histwrite_phy(o_concno3, concno3)
    1011              CALL histwrite_phy(o_concoa, concoa)
    1012              CALL histwrite_phy(o_concbc, concbc)
    1013              CALL histwrite_phy(o_concss, concss)
    1014              CALL histwrite_phy(o_concdust, concdust)
    1015              CALL histwrite_phy(o_loadso4, loadso4)
    1016              CALL histwrite_phy(o_loadoa, loadoa)
    1017              CALL histwrite_phy(o_loadbc, loadbc)
    1018              CALL histwrite_phy(o_loadss, loadss)
    1019              CALL histwrite_phy(o_loaddust, loaddust)
    1020              !--STRAT AER
    1021           ENDIF
    1022           IF (flag_aerosol.GT.0.OR.flag_aerosol_strat>=1) THEN
    1023 !             DO naero = 1, naero_spc
     995       IF (flag_aerosol.GT.0) THEN
     996          CALL histwrite_phy(o_od550aer, od550aer)
     997          CALL histwrite_phy(o_od865aer, od865aer)
     998          CALL histwrite_phy(o_absvisaer, absvisaer)
     999          CALL histwrite_phy(o_od550lt1aer, od550lt1aer)
     1000          CALL histwrite_phy(o_sconcso4, sconcso4)
     1001          CALL histwrite_phy(o_sconcno3, sconcno3)
     1002          CALL histwrite_phy(o_sconcoa, sconcoa)
     1003          CALL histwrite_phy(o_sconcbc, sconcbc)
     1004          CALL histwrite_phy(o_sconcss, sconcss)
     1005          CALL histwrite_phy(o_sconcdust, sconcdust)
     1006          CALL histwrite_phy(o_concso4, concso4)
     1007          CALL histwrite_phy(o_concno3, concno3)
     1008          CALL histwrite_phy(o_concoa, concoa)
     1009          CALL histwrite_phy(o_concbc, concbc)
     1010          CALL histwrite_phy(o_concss, concss)
     1011          CALL histwrite_phy(o_concdust, concdust)
     1012          CALL histwrite_phy(o_loadso4, loadso4)
     1013          CALL histwrite_phy(o_loadoa, loadoa)
     1014          CALL histwrite_phy(o_loadbc, loadbc)
     1015          CALL histwrite_phy(o_loadss, loadss)
     1016          CALL histwrite_phy(o_loaddust, loaddust)
     1017          !--STRAT AER
     1018       ENDIF
     1019       IF (flag_aerosol.GT.0.OR.flag_aerosol_strat>=1) THEN
     1020!          DO naero = 1, naero_spc
    10241021!--correction mini bug OB
    1025              DO naero = 1, naero_tot
    1026                 CALL histwrite_phy(o_tausumaero(naero), &
    1027                      tausum_aero(:,2,naero) )
    1028              ENDDO
    1029           ENDIF
    1030           IF (flag_aerosol_strat>=1) THEN
    1031              CALL histwrite_phy(o_tausumaero_lw, &
    1032                   tausum_aero(:,6,id_STRAT_phy) )
    1033           ENDIF
     1022          DO naero = 1, naero_tot
     1023             CALL histwrite_phy(o_tausumaero(naero), &
     1024                  tausum_aero(:,2,naero) )
     1025          ENDDO
     1026       ENDIF
     1027       IF (flag_aerosol_strat>=1) THEN
     1028          CALL histwrite_phy(o_tausumaero_lw, &
     1029               tausum_aero(:,6,id_STRAT_phy) )
    10341030       ENDIF
    10351031       IF (ok_ade) THEN
     
    10431039          CALL histwrite_phy(o_sollwad0, sollwad0_aero)
    10441040          !====MS forcing diagnostics
    1045           IF (new_aod) THEN
    1046              CALL histwrite_phy(o_swtoaas_nat, topsw_aero(:,1))
    1047              CALL histwrite_phy(o_swsrfas_nat, solsw_aero(:,1))
    1048              CALL histwrite_phy(o_swtoacs_nat, topsw0_aero(:,1))
    1049              CALL histwrite_phy(o_swsrfcs_nat, solsw0_aero(:,1))
    1050              !ant
    1051              CALL histwrite_phy(o_swtoaas_ant, topsw_aero(:,2))
    1052              CALL histwrite_phy(o_swsrfas_ant, solsw_aero(:,2))
    1053              CALL histwrite_phy(o_swtoacs_ant, topsw0_aero(:,2))
    1054              CALL histwrite_phy(o_swsrfcs_ant, solsw0_aero(:,2))
    1055              !cf
    1056              IF (.not. aerosol_couple) THEN
    1057                 CALL histwrite_phy(o_swtoacf_nat, topswcf_aero(:,1))
    1058                 CALL histwrite_phy(o_swsrfcf_nat, solswcf_aero(:,1))
    1059                 CALL histwrite_phy(o_swtoacf_ant, topswcf_aero(:,2))
    1060                 CALL histwrite_phy(o_swsrfcf_ant, solswcf_aero(:,2))
    1061                 CALL histwrite_phy(o_swtoacf_zero,topswcf_aero(:,3))
    1062                 CALL histwrite_phy(o_swsrfcf_zero,solswcf_aero(:,3))
    1063              ENDIF
    1064           ENDIF ! new_aod
     1041          CALL histwrite_phy(o_swtoaas_nat, topsw_aero(:,1))
     1042          CALL histwrite_phy(o_swsrfas_nat, solsw_aero(:,1))
     1043          CALL histwrite_phy(o_swtoacs_nat, topsw0_aero(:,1))
     1044          CALL histwrite_phy(o_swsrfcs_nat, solsw0_aero(:,1))
     1045          !ant
     1046          CALL histwrite_phy(o_swtoaas_ant, topsw_aero(:,2))
     1047          CALL histwrite_phy(o_swsrfas_ant, solsw_aero(:,2))
     1048          CALL histwrite_phy(o_swtoacs_ant, topsw0_aero(:,2))
     1049          CALL histwrite_phy(o_swsrfcs_ant, solsw0_aero(:,2))
     1050          !cf
     1051          IF (.not. aerosol_couple) THEN
     1052             CALL histwrite_phy(o_swtoacf_nat, topswcf_aero(:,1))
     1053             CALL histwrite_phy(o_swsrfcf_nat, solswcf_aero(:,1))
     1054             CALL histwrite_phy(o_swtoacf_ant, topswcf_aero(:,2))
     1055             CALL histwrite_phy(o_swsrfcf_ant, solswcf_aero(:,2))
     1056             CALL histwrite_phy(o_swtoacf_zero,topswcf_aero(:,3))
     1057             CALL histwrite_phy(o_swsrfcf_zero,solswcf_aero(:,3))
     1058          ENDIF
    10651059          !====MS forcing diagnostics
    10661060       ENDIF
Note: See TracChangeset for help on using the changeset viewer.