Ignore:
Timestamp:
Mar 3, 2015, 2:41:13 PM (10 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes -r2186:2216 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phylmd/phys_output_write_mod.F90

    r2187 r2220  
    8080         o_alp_bl_conv, o_alp_bl_stat, &
    8181         o_slab_qflux, o_tslab, o_slab_bils, &
     82         o_slab_bilg, o_slab_sic, o_slab_tice, &
    8283         o_weakinv, o_dthmin, o_cldtau, &
    8384         o_cldemi, o_pr_con_l, o_pr_con_i, &
     
    113114         o_rnebls, o_rhum, o_ozone, o_ozone_light, &
    114115         o_dtphy, o_dqphy, o_albe_srf, o_rugs_srf, &
    115          o_ages_srf, o_alb1, o_alb2, o_tke, &
     116         o_ages_srf, o_snow_srf, o_alb1, o_alb2, o_tke, &
    116117         o_tke_max, o_kz, o_kz_max, o_clwcon, &
    117118         o_dtdyn, o_dqdyn, o_dudyn, o_dvdyn, &
     
    166167         wake_deltaq, ftd, fqd, ale_bl_trig, albsol1, &
    167168         rnebcon, wo, falb1, albsol2, coefh, clwcon0, &
    168          ratqs, entr_therm, zqasc, detr_therm, f0, heat, &
    169          heat0, cool, cool0, lwup, lwdn, lwup0, coefm, &
     169         ratqs, entr_therm, zqasc, detr_therm, f0, &
     170         lwup, lwdn, lwup0, coefm, &
    170171         swupp, lwupp, swup0p, lwup0p, swdnp, lwdnp, &
    171172         swdn0p, lwdn0p, tnondef, O3sumSTD, uvsumSTD, &
     
    215216         d_u_ajs, d_v_ajs, &
    216217         d_u_con, d_v_con, d_q_con, d_q_ajs, d_t_lsc, &
     218         d_t_lwr,d_t_lw0,d_t_swr,d_t_sw0, &
    217219         d_t_eva, d_q_lsc, beta_prec, d_t_lscth, &
    218220         d_t_lscst, d_q_lscth, d_q_lscst, plul_th, &
     
    226228         bils_ec,bils_ech, bils_tke, bils_kinetic, bils_latent, bils_enthalp, &
    227229         itau_con, nfiles, clef_files, nid_files, zvstr_gwd_rando
    228     USE ocean_slab_mod, only: tslab, slab_bils
     230    USE ocean_slab_mod, only: tslab, slab_bils, slab_bilg, tice, seaice
     231    USE pbl_surface_mod, only: snow
    229232    USE indice_sol_mod, only: nbsrf
    230233    USE infotrac, only: nqtot, nqo, type_trac
    231234    USE comgeomphy, only: airephy
    232     USE surface_data, only: type_ocean, ok_veget, ok_snow
     235    USE surface_data, only: type_ocean, version_ocean, ok_veget, ok_snow
    233236!    USE aero_mod, only: naero_spc
    234237    USE aero_mod, only: naero_tot, id_STRAT_phy
     
    399402       CALL histwrite_phy(o_pluc, zx_tmp_fi2d)
    400403       CALL histwrite_phy(o_snow, snow_fall)
    401        CALL histwrite_phy(o_msnow, snow_o)
     404       CALL histwrite_phy(o_msnow, zxsnow)
    402405       CALL histwrite_phy(o_fsnow, zfra_o)
    403406       CALL histwrite_phy(o_evap, evap)
     
    513516
    514517       IF (ok_snow) THEN
    515           CALL histwrite_phy(o_snowsrf, zxsnow)
     518          CALL histwrite_phy(o_snowsrf, snow_o)
    516519          CALL histwrite_phy(o_qsnow, qsnow)
    517520          CALL histwrite_phy(o_snowhgt,snowhgt)
     
    754757              CALL histwrite_phy(o_tslab, tslab)
    755758          END IF
     759          IF (version_ocean=='sicINT') THEN
     760              CALL histwrite_phy(o_slab_bilg, slab_bilg)
     761              CALL histwrite_phy(o_slab_tice, tice)
     762              CALL histwrite_phy(o_slab_sic, seaice)
     763          END IF
    756764       ENDIF !type_ocean == force/slab
    757765       CALL histwrite_phy(o_weakinv, weak_inversion)
     
    969977          IF (vars_defined) zx_tmp_fi2d(1 : klon) = agesno( 1 : klon, nsrf)
    970978          CALL histwrite_phy(o_ages_srf(nsrf), zx_tmp_fi2d)
     979          IF (vars_defined) zx_tmp_fi2d(1 : klon) = snow( 1 : klon, nsrf)
     980          CALL histwrite_phy(o_snow_srf(nsrf), zx_tmp_fi2d)
    971981       ENDDO !nsrf=1, nbsrf
    972982       CALL histwrite_phy(o_alb1, albsol1)
     
    11271137       IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_q_ajsb(1:klon,1:klev)/pdtphys
    11281138       CALL histwrite_phy(o_dqajs, zx_tmp_fi3d)
    1129        IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=heat(1:klon,1:klev)/RDAY
     1139       IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_swr(1:klon,1:klev)/pdtphys
    11301140       CALL histwrite_phy(o_dtswr, zx_tmp_fi3d)
    1131        IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=heat0(1:klon,1:klev)/RDAY
     1141       IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_sw0(1:klon,1:klev)/pdtphys
    11321142       CALL histwrite_phy(o_dtsw0, zx_tmp_fi3d)
    1133        IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=-1.*cool(1:klon,1:klev)/RDAY
     1143       IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_lwr(1:klon,1:klev)/pdtphys
    11341144       CALL histwrite_phy(o_dtlwr, zx_tmp_fi3d)
    1135        IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=-1.*cool0(1:klon,1:klev)/RDAY
     1145       IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_lw0(1:klon,1:klev)/pdtphys
    11361146       CALL histwrite_phy(o_dtlw0, zx_tmp_fi3d)
    11371147       IF(vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_ec(1:klon,1:klev)/pdtphys
     
    11931203       CALL histwrite_phy(o_tnt, zx_tmp_fi3d)
    11941204       IF(vars_defined) THEN
    1195           zx_tmp_fi3d(1:klon,1:klev)=heat(1:klon,1:klev)/RDAY - &
    1196                cool(1:klon,1:klev)/RDAY
     1205          zx_tmp_fi3d(1:klon,1:klev)=d_t_swr(1:klon,1:klev)/pdtphys + &
     1206               d_t_lwr(1:klon,1:klev)/pdtphys
    11971207       ENDIF
    11981208       CALL histwrite_phy(o_tntr, zx_tmp_fi3d)
Note: See TracChangeset for help on using the changeset viewer.