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/physiq_mod.F90

    r2984 r2989  
    16101610         IF (xios_field_is_active("dryod550_"//name_aero_tau(naero))) dryaod_diag=.TRUE.
    16111611       ENDDO
     1612       !
     1613       !--setting up ok_4xCO2atm to TRUE in XIOS case
     1614       IF (xios_field_is_active("rsut4co2").OR.xios_field_is_active("rlut4co2").OR. &
     1615           xios_field_is_active("rsutcs4co2").OR.xios_field_is_active("rlutcs4co2").OR. &
     1616           xios_field_is_active("rsu4co2").OR.xios_field_is_active("rsucs4co2").OR. &
     1617           xios_field_is_active("rsd4co2").OR.xios_field_is_active("rsdcs4co2").OR. &
     1618           xios_field_is_active("rlu4co2").OR.xios_field_is_active("rlucs4co2").OR. &
     1619           xios_field_is_active("rld4co2").OR.xios_field_is_active("rldcs4co2")) &
     1620           ok_4xCO2atm=.TRUE.
    16121621#endif
    16131622
     
    37253734          IF (debut) swaero_diag = .FALSE.
    37263735          IF (debut) dryaod_diag = .FALSE.
     3736          !--IM 15/09/2017 here we return ok_4xCO2atm to FALSE
     3737          !--as for swaero_diag, see above
     3738          IF (debut) ok_4xCO2atm = .FALSE.
    37273739#endif
    37283740          !
     
    37313743          !IM Par defaut on a les taux perturbes egaux aux taux actuels
    37323744          !
     3745          IF (RCO2_per.NE.RCO2_act.OR. &
     3746              RCH4_per.NE.RCH4_act.OR. &
     3747              RN2O_per.NE.RN2O_act.OR. &
     3748              RCFC11_per.NE.RCFC11_act.OR. &
     3749              RCFC12_per.NE.RCFC12_act) ok_4xCO2atm =.TRUE.
     3750   !
    37333751          IF (ok_4xCO2atm) THEN
    3734              IF (RCO2_per.NE.RCO2_act.OR.RCH4_per.NE.RCH4_act.OR.     &
    3735                  RN2O_per.NE.RN2O_act.OR.RCFC11_per.NE.RCFC11_act.OR. &
    3736                  RCFC12_per.NE.RCFC12_act) THEN
    37373752                !
    37383753                RCO2 = RCO2_per
     
    37823797                     ZLWFT0_i, ZFLDN0, ZFLUP0, &
    37833798                     ZSWFT0_i, ZFSDN0, ZFSUP0)
    3784              endif
    37853799          endif
    37863800          !
Note: See TracChangeset for help on using the changeset viewer.