Changeset 2772 for LMDZ5/trunk


Ignore:
Timestamp:
Jan 24, 2017, 5:25:04 PM (8 years ago)
Author:
Laurent Fairhead
Message:

Removing some prints when running in operationnal mode
LF

Location:
LMDZ5/trunk/libf/phylmd
Files:
2 edited

Legend:

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

    • Property svn:keywords set to Id
    r2460 r2772  
    11!
    2 !$Id: cdrag.F90 ???? 2015-??-?? ??:??:??Z ? $
     2!$Id$
    33!
    44 SUBROUTINE cdrag( knon,  nsrf,   &
     
    99  USE dimphy
    1010  USE indice_sol_mod
    11   USE print_control_mod, ONLY: lunout
     11  USE print_control_mod, ONLY: lunout, prt_level
    1212  IMPLICIT NONE
    1313! ================================================================= c
     
    139139     IF (qsurf(i).LT.0.0)  ng_qsurf = ng_qsurf + 1
    140140  ENDDO
    141   IF (ng_q1.GT.0) THEN
     141  IF (ng_q1.GT.0 .and. prt_level > 5) THEN
    142142      WRITE(lunout,*)" *** Warning: Negative q1(humidity at 1st level) values in cdrag.F90 !"
    143143      WRITE(lunout,*)" The total number of the grids is: ", ng_q1
     
    146146!      CALL abort_physic(modname,abort_message,1)
    147147  ENDIF
    148   IF (ng_qsurf.GT.0) THEN
     148  IF (ng_qsurf.GT.0 .and. prt_level > 5) THEN
    149149      WRITE(lunout,*)" *** Warning: Negative qsurf(humidity at surface) values in cdrag.F90 !"
    150150      WRITE(lunout,*)" The total number of the grids is: ", ng_qsurf
  • LMDZ5/trunk/libf/phylmd/stratosphere_mask.F90

    • Property svn:keywords set to Id
    r2715 r2772  
     1!
     2! $Id$
     3!
    14SUBROUTINE stratosphere_mask(t_seri, pplay, xlat)
    25
     
    3134USE phys_local_var_mod, ONLY: p_tropopause
    3235#endif
     36USE print_control_mod, ONLY: lunout, prt_level
    3337
    3438IMPLICIT NONE
     
    98102#endif
    99103
    100 IF (ifil.gt.0) THEN
    101   print *,'Tropopause: number of undetermined values =', ifil
     104IF (ifil.gt.0 .and. prl_level >5) THEN
     105  write(lunout,*)'Tropopause: number of undetermined values =', ifil
    102106ENDIF
    103107
Note: See TracChangeset for help on using the changeset viewer.