Ignore:
Timestamp:
Oct 25, 2018, 5:23:18 PM (6 years ago)
Author:
Laurent Fairhead
Message:

Modifications needed for VolMIP diagnostics for IPSLCM6.1.8
NL/LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/phys_output_write_mod.F90

    r3400 r3408  
    1717  SUBROUTINE phys_output_write(itap, pdtphys, paprs, pphis, &
    1818       pplay, lmax_th, aerosol_couple,         &
    19        ok_ade, ok_aie, ivap, iliq, isol, new_aod, ok_sync, &
     19       ok_ade, ok_aie, ok_volcan, ivap, iliq, isol, new_aod, ok_sync, &
    2020       ptconv, read_climoz, clevSTD, ptconvth, &
    2121       d_u, d_t, qx, d_qx, zmasse, flag_aerosol, flag_aerosol_strat, ok_cdnc)
     
    214214         o_vsed_aer, o_tau_strat_1020, o_ext_strat_1020, o_f_r_wet
    215215#endif
     216   
     217    USE phys_output_ctrlout_mod, ONLY: o_heat_volc, o_cool_volc !NL
     218    USE phys_state_var_mod, ONLY: heat_volc, cool_volc !NL
    216219
    217220    USE phys_state_var_mod, ONLY: pctsrf, rain_fall, snow_fall, &
     
    388391    INTEGER, DIMENSION(klon) :: lmax_th
    389392    LOGICAL :: aerosol_couple, ok_sync
    390     LOGICAL :: ok_ade, ok_aie, new_aod
     393    LOGICAL :: ok_ade, ok_aie, ok_volcan, new_aod
    391394    LOGICAL, DIMENSION(klon, klev) :: ptconv, ptconvth
    392395    REAL :: pdtphys
     
    13781381       ENDIF
    13791382#endif
     1383       !NL
     1384       IF (ok_volcan .AND. ok_ade) THEN
     1385          DO k=1, klev
     1386             zx_tmp_fi3d(:,k)=heat_volc(:,k)*swradcorr(:)
     1387          ENDDO
     1388          CALL histwrite_phy(o_heat_volc, zx_tmp_fi3d)
     1389          DO k=1, klev
     1390             zx_tmp_fi3d(:,k)=cool_volc(:,k)*swradcorr(:)
     1391          ENDDO
     1392          CALL histwrite_phy(o_cool_volc, zx_tmp_fi3d)
     1393       ENDIF
    13801394       IF (ok_ade) THEN
    13811395          CALL histwrite_phy(o_topswad, topswad_aero*swradcorr)
Note: See TracChangeset for help on using the changeset viewer.