Changeset 1307 for LMDZ4/trunk/libf


Ignore:
Timestamp:
Jan 29, 2010, 3:40:49 PM (15 years ago)
Author:
Laurent Fairhead
Message:

Changes in output options for aerosols


Changements dans les options de sorties pour les aerosols

ACo

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

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/phys_output_mod.F90

    r1285 r1307  
    339339  type(ctrl_out),save :: o_rugs         = ctrl_out((/ 10, 10, 10, 1, 1 /),'rugs')
    340340
    341   type(ctrl_out),save :: o_topswad      = ctrl_out((/ 4, 10, 10, 10, 10 /),'topswad')
    342   type(ctrl_out),save :: o_topswai      = ctrl_out((/ 4, 10, 10, 10, 10 /),'topswai')
    343   type(ctrl_out),save :: o_solswad      = ctrl_out((/ 4, 10, 10, 10, 10 /),'solswad')
    344   type(ctrl_out),save :: o_solswai      = ctrl_out((/ 4, 10, 10, 10, 10 /),'solswai')
     341  type(ctrl_out),save :: o_topswad      = ctrl_out((/ 2, 10, 10, 10, 10 /),'topswad')
     342  type(ctrl_out),save :: o_topswai      = ctrl_out((/ 2, 10, 10, 10, 10 /),'topswai')
     343  type(ctrl_out),save :: o_solswad      = ctrl_out((/ 2, 10, 10, 10, 10 /),'solswad')
     344  type(ctrl_out),save :: o_solswai      = ctrl_out((/ 2, 10, 10, 10, 10 /),'solswai')
    345345
    346346  type(ctrl_out),save,dimension(10) :: o_tausumaero  = (/ ctrl_out((/ 4, 10, 10, 10, 10 /),'OD550_ASBCM'), &
  • LMDZ4/trunk/libf/phylmd/sw_aeroAR4.F90

    r1279 r1307  
    186186!$OMP THREADPRIVATE(AEROSOLFEEDBACK_ACTIVE) 
    187187
     188      CHARACTER (LEN=20) :: modname='sw_aeroAR4'
     189      CHARACTER (LEN=80) :: abort_message
     190
    188191  IF ((.not. ok_ade) .and. (AEROSOLFEEDBACK_ACTIVE .ge. 2)) THEN
    189      print*,'Error: direct effect is not activated but assumed to be active - see sw_aeroAR4.F90'
    190      stop
     192     abort_message ='Error: direct effect is not activated but assumed to be active - see sw_aeroAR4.F90'
     193     CALL abort_gcm (modname,abort_message,1)
    191194  ENDIF
    192195  AEROSOLFEEDBACK_ACTIVE=MIN(MAX(AEROSOLFEEDBACK_ACTIVE,0),3)
    193196  IF  (AEROSOLFEEDBACK_ACTIVE .gt. 3) THEN
    194      print*,'Error: AEROSOLFEEDBACK_ACTIVE options go only until 3'
    195      stop
     197     abort_message ='Error: AEROSOLFEEDBACK_ACTIVE options go only until 3'
     198     CALL abort_gcm (modname,abort_message,1)
    196199  ENDIF
    197200
     
    238241
    239242! clear sky is either computed IF no direct effect is asked for, or for extended diag)
    240      IF (( lev_histmth .eq. 4 ) .or. ( .not. ok_ade )) THEN   
     243     IF (( lev_histmth .ge. 4 ) .or. ( .not. ok_ade )) THEN   
    241244
    242245     ! clear-sky: zero aerosol effect
     
    267270
    268271! cloudy sky is either computed IF no indirect effect is asked for, or for extended diag)
    269      IF (( lev_histmth .eq. 4 ) .or. ( .not. ok_aie )) THEN   
     272     IF (( lev_histmth .ge. 4 ) .or. ( .not. ok_aie )) THEN   
    270273     ! cloudy-sky: zero aerosol effect
    271274     flag_aer=0.0
     
    326329
    327330! cloudy sky is either computed IF no indirect effect is asked for, or for extended diag)
    328         IF (( lev_histmth .eq. 4 ) .or. (.not. ok_aie)) THEN 
     331        IF (( lev_histmth .ge. 2 ) .or. (.not. ok_aie)) THEN 
    329332        ! cloudy-sky aerosol direct effect of total aerosol
    330333        flag_aer=1.0
     
    355358
    356359! natural aeroosl clear sky is  computed  for extended diag)
    357         IF ( lev_histmth .eq. 4 ) THEN           
     360        IF ( lev_histmth .ge. 4 ) THEN           
    358361        ! clear sky direct effect natural aerosol
    359362        flag_aer=1.0
     
    384387
    385388! cloud sky natural is for extended diagnostics
    386         IF ( lev_histmth .eq. 4 ) THEN
     389        IF ( lev_histmth .ge. 2 ) THEN
    387390        ! cloudy-sky direct effect natural aerosol
    388391        flag_aer=1.0
Note: See TracChangeset for help on using the changeset viewer.