Ignore:
Timestamp:
Jul 9, 2014, 11:19:07 PM (10 years ago)
Author:
fhourdin
Message:

nclusion de la thermodynamique de la glace
Ice thermodynamics
(Catherine Rio)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/phys_output_write_mod.F90

    r2057 r2086  
    222222    USE ocean_slab_mod, only: tslab, slab_bils
    223223    USE indice_sol_mod, only: nbsrf
    224     USE infotrac, only: nqtot
     224    USE infotrac, only: nqtot, nqo
    225225    USE comgeomphy, only: airephy
    226226    USE surface_data, only: type_ocean, ok_veget, ok_snow
     
    12881288       ENDDO !nfiles
    12891289!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1290        IF (nqtot.GE.3) THEN
    1291           DO iq=3,nqtot
    1292              CALL histwrite_phy(o_trac(iq-2), qx(:,:,iq))
    1293              CALL histwrite_phy(o_dtr_vdf(iq-2),d_tr_cl(:,:,iq-2))
    1294              CALL histwrite_phy(o_dtr_the(iq-2),d_tr_th(:,:,iq-2))
    1295              CALL histwrite_phy(o_dtr_con(iq-2),d_tr_cv(:,:,iq-2))
    1296              CALL histwrite_phy(o_dtr_lessi_impa(iq-2),d_tr_lessi_impa(:,:,iq-2))
    1297              CALL histwrite_phy(o_dtr_lessi_nucl(iq-2),d_tr_lessi_nucl(:,:,iq-2))
    1298              CALL histwrite_phy(o_dtr_insc(iq-2),d_tr_insc(:,:,iq-2))
    1299              CALL histwrite_phy(o_dtr_bcscav(iq-2),d_tr_bcscav(:,:,iq-2))
    1300              CALL histwrite_phy(o_dtr_evapls(iq-2),d_tr_evapls(:,:,iq-2))
    1301              CALL histwrite_phy(o_dtr_ls(iq-2),d_tr_ls(:,:,iq-2))
    1302              CALL histwrite_phy(o_dtr_trsp(iq-2),d_tr_trsp(:,:,iq-2))
    1303              CALL histwrite_phy(o_dtr_sscav(iq-2),d_tr_sscav(:,:,iq-2))
    1304              CALL histwrite_phy(o_dtr_sat(iq-2),d_tr_sat(:,:,iq-2))
    1305              CALL histwrite_phy(o_dtr_uscav(iq-2),d_tr_uscav(:,:,iq-2))
     1290!       IF (nqtot.GE.3) THEN
     1291!          DO iq=3,nqtot
     1292          IF (nqtot.GE.nqo+1) THEN
     1293            DO iq=nqo+1,nqtot
     1294             CALL histwrite_phy(o_trac(iq-nqo), qx(:,:,iq))
     1295             CALL histwrite_phy(o_dtr_vdf(iq-nqo),d_tr_cl(:,:,iq-nqo))
     1296             CALL histwrite_phy(o_dtr_the(iq-nqo),d_tr_th(:,:,iq-nqo))
     1297             CALL histwrite_phy(o_dtr_con(iq-nqo),d_tr_cv(:,:,iq-nqo))
     1298             CALL histwrite_phy(o_dtr_lessi_impa(iq-nqo),d_tr_lessi_impa(:,:,iq-nqo))
     1299             CALL histwrite_phy(o_dtr_lessi_nucl(iq-nqo),d_tr_lessi_nucl(:,:,iq-nqo))
     1300             CALL histwrite_phy(o_dtr_insc(iq-nqo),d_tr_insc(:,:,iq-nqo))
     1301             CALL histwrite_phy(o_dtr_bcscav(iq-nqo),d_tr_bcscav(:,:,iq-nqo))
     1302             CALL histwrite_phy(o_dtr_evapls(iq-nqo),d_tr_evapls(:,:,iq-nqo))
     1303             CALL histwrite_phy(o_dtr_ls(iq-nqo),d_tr_ls(:,:,iq-nqo))
     1304             CALL histwrite_phy(o_dtr_trsp(iq-nqo),d_tr_trsp(:,:,iq-nqo))
     1305             CALL histwrite_phy(o_dtr_sscav(iq-nqo),d_tr_sscav(:,:,iq-nqo))
     1306             CALL histwrite_phy(o_dtr_sat(iq-nqo),d_tr_sat(:,:,iq-nqo))
     1307             CALL histwrite_phy(o_dtr_uscav(iq-nqo),d_tr_uscav(:,:,iq-nqo))
    13061308             zx_tmp_fi2d=0.
    13071309             IF(vars_defined) THEN
     
    13101312                ENDDO
    13111313             ENDIF
    1312              CALL histwrite_phy(o_trac_cum(iq-2), zx_tmp_fi2d)
     1314             CALL histwrite_phy(o_trac_cum(iq-nqo), zx_tmp_fi2d)
    13131315          ENDDO
    13141316       ENDIF
Note: See TracChangeset for help on using the changeset viewer.