Ignore:
Timestamp:
Jun 12, 2015, 11:38:57 PM (9 years ago)
Author:
musat
Message:

RRTM :
Correction bug interface avec rrtm (radlwsw_m.F90)
Ajouter la possibilite d'utilsation d'anciennes proprites optique dans le cas RRTM 2bandes (readaerosol_optic_rrtm.F90)
Correction rrtm (rrtm_rtrn1a_140gp.F90)

COSP :
Modifications pour traiter les valeurs indefines :
mise a 0 en cas d'utilisation de IOIPSL
mise a la valeur recuperee dans .xml en cas d'utilisation de XIOS

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

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/rrtm/readaerosol_optic_rrtm.F90

    r2180 r2297  
    303303  END DO
    304304
     305! AI 12 juin 2015
     306! Modif Olivier pour prendre en compte des prop optiq aero ancienne pour RRTM 2bds
     307
     308IF (NSW.EQ.2) THEN
     309!--old aerosol properties
     310
     311   ! old aeropt_2bands for rrtm
     312   CALL aeropt_2bands( &
     313         pdel, m_allaer, pdtphys, rhcl, &
     314         tau_aero, piz_aero, cg_aero,   &
     315         m_allaer_pi, flag_aerosol, &
     316         pplay, t_seri, presnivs)
     317
     318   ! aeropt_5wv only for validation and diagnostics.
     319   CALL aeropt_5wv(                    &
     320        pdel, m_allaer,                &
     321        pdtphys, rhcl, aerindex,       &
     322        flag_aerosol, pplay, t_seri,   &
     323        tausum_aero, tau3d_aero, presnivs)
     324
     325ELSEIF (NSW.EQ.6) THEN
     326!--new aerosol propertie
    305327  ! aeropt_6bands for rrtm
    306328  CALL aeropt_6bands_rrtm( &
     
    316338       flag_aerosol, pplay, t_seri,   &
    317339       tausum_aero, tau3d_aero )
     340
     341ELSE
     342
     343    PRINT *,'Cas NSW non prevu pour RRTM - NSW=',NSW
     344    STOP
     345
     346ENDIF
    318347
    319348  ! Diagnostics calculation for CMIP5 protocol
  • LMDZ5/trunk/libf/phylmd/rrtm/rrtm_rtrn1a_140gp.F90

    r2150 r2297  
    496496!    Z_FACCMB2D(I_LEV-1) = Z_FACCLD1D(I_LEV-1) * Z_FACCLR2D(I_LEV) *&
    497497!     & (1.0_JPRB - Z_CLDFRAC(I_LEV+1)) 
    498     if (istcldd(i_lev).ne.1) then
     498    if (istcldd(i_lev).ne.1.and.i_lev.ne.0) then
    499499       z_faccmb1d(i_lev-1) = max(0.,min(z_cldfrac(i_lev+1)-z_cldfrac(i_lev), &
    500500                            z_cldfrac(i_lev-1)-z_cldfrac(i_lev)))
Note: See TracChangeset for help on using the changeset viewer.