Ignore:
Timestamp:
Jan 21, 2022, 6:50:11 PM (2 years ago)
Author:
oboucher
Message:

more keys for plane effects to avoid pb on outputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r4059 r4062  
    12971297       ENDIF
    12981298
    1299        IF ((iflag_ice_sursat.GT.0).AND.(iflag_ice_thermo.EQ.0)) THEN
    1300           WRITE (lunout, *) ' iflag_ice_sursat=1 requires iflag_ice_thermo=1 as well'
     1299       IF (ok_ice_sursat.AND.(iflag_ice_thermo.EQ.0)) THEN
     1300          WRITE (lunout, *) ' ok_ice_sursat=y requires iflag_ice_thermo=1 as well'
    13011301          abort_message='see above'
    13021302          CALL abort_physic(modname,abort_message,1)
    13031303       ENDIF
    13041304
    1305        IF ((iflag_ice_sursat.GT.0).AND.(nqo.NE.4)) THEN
    1306           WRITE (lunout, *) ' iflag_ice_sursat=1 requires 4 H2O tracers ', &
     1305       IF (ok_ice_sursat.AND.(nqo.NE.4)) THEN
     1306          WRITE (lunout, *) ' ok_ice_sursat=y requires 4 H2O tracers ', &
    13071307               '(H2Ov, H2Ol, H2Oi, rnebi) but nqo=', nqo, '. Might as well stop here.'
     1308          abort_message='see above'
     1309          CALL abort_physic(modname,abort_message,1)
     1310       ENDIF
     1311
     1312       IF (ok_plane_h2o.AND..NOT.ok_ice_sursat) THEN
     1313          WRITE (lunout, *) ' ok_plane_h2o=y requires ok_ice_sursat=y '
     1314          abort_message='see above'
     1315          CALL abort_physic(modname,abort_message,1)
     1316       ENDIF
     1317
     1318       IF (ok_plane_contrail.AND..NOT.ok_ice_sursat) THEN
     1319          WRITE (lunout, *) ' ok_plane_contrail=y requires ok_ice_sursat=y '
    13081320          abort_message='see above'
    13091321          CALL abort_physic(modname,abort_message,1)
     
    35593571    IF (ok_new_lscp) THEN
    35603572
    3561     !--mise à jour de flight_m dans son module
    3562     CALL airplane(debut,pphis,pplay,paprs,t_seri)
     3573    !--mise à jour de flight_m et flight_h2o dans leur module
     3574    IF (ok_plane_h2o .OR. ok_plane_contrail) THEN
     3575      CALL airplane(debut,pphis,pplay,paprs,t_seri)
     3576    ENDIF
    35633577
    35643578    CALL lscp(phys_tstep,missing_val,paprs,pplay, &
     
    35703584         prfl, psfl, rhcl,  &
    35713585         zqasc, fraca,ztv,zpspsk,ztla,zthl,iflag_cld_th, &
    3572          iflag_ice_thermo, iflag_ice_sursat)
     3586         iflag_ice_thermo, ok_ice_sursat)
    35733587
    35743588    ELSE
Note: See TracChangeset for help on using the changeset viewer.