Ignore:
Timestamp:
Sep 18, 2017, 5:32:12 PM (7 years ago)
Author:
musat
Message:

The 4co2 output fields are now managed by the XIOS server via
file*lmdz*xml files and the ok_4xCO2atm logical flag.
ok_4xCO2atm is initialized to TRUE if

  • one of the 4co2 variables (rsut4cO2, rlut4co2, etc) are asked for

by XIOS sefrver or

  • if one of the perturbed GES concentration (RCO2_per, RCH4_per, etc)

is different from the actual (RCO2, RCH4, etc) GES concentration.

File:
1 edited

Legend:

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

    r2973 r2989  
    320320         map_emis_ThCi,map_pcld_ThCi,map_tcld_ThCi,&
    321321         map_emis_Anv,map_pcld_Anv,map_tcld_Anv, &
    322          alt_tropo
     322         alt_tropo, &
     323!Ionela
     324         ok_4xCO2atm
    323325
    324326    USE ocean_slab_mod, ONLY: nslay, tslab, slab_bils, slab_bilg, tice, &
     
    17331735       CALL histwrite_phy(o_ref_liq, ref_liq)
    17341736       CALL histwrite_phy(o_ref_ice, ref_ice)
    1735        IF (RCO2_per.NE.RCO2_act.OR.RCH4_per.NE.RCH4_act.OR. &
    1736             RN2O_per.NE.RN2O_act.OR.RCFC11_per.NE.RCFC11_act.OR. &
    1737             RCFC12_per.NE.RCFC12_act) THEN
     1737!
     1738       IF (ok_4xCO2atm) THEN
    17381739          IF (vars_defined) zx_tmp_fi2d(:) = swupp(:,klevp1)*swradcorr(:)
    17391740          CALL histwrite_phy(o_rsut4co2, zx_tmp_fi2d)
     
    17641765          CALL histwrite_phy(o_rld4co2, lwdnp)
    17651766          CALL histwrite_phy(o_rldcs4co2, lwdn0p)
    1766        ENDIF
     1767       ENDIF !ok_4xCO2atm
    17671768!!!!!!!!!!!! Sorties niveaux de pression NMC !!!!!!!!!!!!!!!!!!!!
    17681769#ifdef CPP_IOIPSL
Note: See TracChangeset for help on using the changeset viewer.