Ignore:
Timestamp:
Mar 31, 2023, 8:42:57 PM (18 months ago)
Author:
lguez
Message:

Merge LMDZ_ECRad branch back into trunk!

Location:
LMDZ6/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk

  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r4478 r4489  
    145145       ! Variables locales pour effectuer les appels en serie
    146146       t_seri,q_seri,ql_seri,qs_seri,u_seri,v_seri,tr_seri,rneb_seri, &
     147       rhcl, &       
    147148       ! Dynamic tendencies (diagnostics)
    148149       d_t_dyn,d_q_dyn,d_ql_dyn,d_qs_dyn,d_u_dyn,d_v_dyn,d_tr_dyn,d_rneb_dyn, &
     
    826827    ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    827828    !
    828     REAL rhcl(klon,klev)    ! humiditi relative ciel clair
     829!    REAL rhcl(klon,klev)    ! humiditi relative ciel clair
    829830    REAL dialiq(klon,klev)  ! eau liquide nuageuse
    830831    REAL diafra(klon,klev)  ! fraction nuageuse
     
    11201121    !     climatology and the daylight climatology
    11211122    INTEGER,SAVE :: ncid_climoz                ! NetCDF file identifier
    1122     REAL, POINTER, SAVE :: press_cen_climoz(:) ! Pressure levels
    1123     REAL, POINTER, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals
    1124     REAL, POINTER, SAVE :: time_climoz(:)      ! Time vector
     1123    REAL, allocatable, SAVE :: press_cen_climoz(:) ! Pressure levels
     1124    REAL, allocatable, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals
     1125    REAL, allocatable, SAVE :: time_climoz(:)      ! Time vector
    11251126    CHARACTER(LEN=13), PARAMETER :: vars_climoz(2) &
    11261127                                  = ["tro3         ","tro3_daylight"]
     
    40134014                     tausum_aero, tau3d_aero)
    40144015             ENDIF
    4015           ELSE                       ! RRTM radiation
     4016          ELSE IF (iflag_rrtm .EQ.1) THEN  ! RRTM radiation
    40164017             IF (aerosol_couple .AND. config_inca == 'aero' ) THEN
    40174018                abort_message='config_inca=aero et rrtm=1 impossible'
     
    40794080                !
    40804081             ENDIF
     4082          ELSE IF (iflag_rrtm .EQ.2) THEN    ! ecrad RADIATION
     4083#ifdef CPP_ECRAD
     4084             !--climatologies or INCA aerosols
     4085             CALL readaerosol_optic_ecrad( debut, aerosol_couple, ok_alw, ok_volcan, &
     4086                  flag_aerosol, flag_bc_internal_mixture, itap, jD_cur-jD_ref, &
     4087                  pdtphys, pplay, paprs, t_seri, rhcl, presnivs,  &
     4088                  tr_seri, mass_solu_aero, mass_solu_aero_pi,  &
     4089                  tau_aero_sw_rrtm, piz_aero_sw_rrtm, cg_aero_sw_rrtm,  &
     4090                  tausum_aero, drytausum_aero, tau3d_aero)
     4091#else
     4092                abort_message='You should compile with -rad ecrad if running with iflag_rrtm=2'
     4093                CALL abort_physic(modname,abort_message,1)
     4094#endif
    40814095          ENDIF
     4096
    40824097       ELSE   !--flag_aerosol = 0
    40834098          tausum_aero(:,:,:) = 0.
     
    53885403         IF (read_climoz >= 1) THEN
    53895404           IF (is_mpi_root) CALL nf95_close(ncid_climoz)
    5390             DEALLOCATE(press_edg_climoz) ! pointer
    5391             DEALLOCATE(press_cen_climoz) ! pointer
     5405            DEALLOCATE(press_edg_climoz)
     5406            DEALLOCATE(press_cen_climoz)
    53925407         ENDIF
    53935408       
Note: See TracChangeset for help on using the changeset viewer.