Ignore:
Timestamp:
Oct 27, 2017, 6:14:12 PM (7 years ago)
Author:
musat
Message:

Set up lwoff configuration : add ok_lwoff=y to activate it.
Add solbnd CMIP6 output.
Enable 3D outputs of SW/LW total sky and clear sky.
IM

File:
1 edited

Legend:

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

    r3029 r3048  
    11051105    REAL, dimension(klon, klev) :: cldfrarad   ! fraction nuageuse
    11061106
     1107    !lwoff=y : offset LW CRE for radiation code and other schemes
     1108    REAL, SAVE :: betalwoff
     1109    !OMP THREADPRIVATE(betalwoff)
     1110!
    11071111    INTEGER :: nbtr_tmp ! Number of tracer inside concvl
    11081112    REAL, dimension(klon,klev) :: sh_in ! Specific humidity entering in phytrac
     
    17881792       WRITE(*,*)'lat2_beta=',lat2_beta
    17891793       WRITE(*,*)'mskocean_beta=',mskocean_beta
     1794
     1795      !lwoff=y : offset LW CRE for radiation code and other schemes
     1796      !lwoff=y : betalwoff=1.
     1797      betalwoff=0.
     1798      IF (ok_lwoff) THEN
     1799         betalwoff=1.
     1800      ENDIF
     1801      WRITE(*,*)'ok_lwoff=',ok_lwoff
     1802      !
     1803      !lwoff=y to begin only sollw and sollwdown are set up to CS values
     1804      sollw = sollw + betalwoff * (sollw0 - sollw)
     1805      sollwdown(:)= sollwdown(:) + betalwoff *(-1.*ZFLDN0(:,1) - &
     1806                    sollwdown(:))
    17901807    ENDIF
    17911808    !
     
    36033620          ! global
    36043621          !
     3622!IM 251017 begin
     3623                print*,'physiq betaCRF global zdtime=',zdtime
     3624!IM 251017 end
    36053625          DO k=1, klev
    36063626             DO i=1, klon
     
    37173737             print *,' ->radlwsw, number 1 '
    37183738          ENDIF
     3739
    37193740          !
    37203741          CALL radlwsw &
     
    37333754               tau_aero_lw_rrtm, &
    37343755               cldtaupirad,new_aod, &
     3756!              zqsat, flwcrad, fiwcrad, &
    37353757               zqsat, flwc, fiwc, &
    37363758               ref_liq, ref_ice, ref_liq_pi, ref_ice_pi, &
     
    37553777               ZSWFT0_i, ZFSDN0, ZFSUP0)
    37563778
     3779          !lwoff=y, betalwoff=1. : offset LW CRE for radiation code and other
     3780          !schemes
     3781          toplw = toplw + betalwoff * (toplw0 - toplw)
     3782          sollw = sollw + betalwoff * (sollw0 - sollw)
     3783          lwdn = lwdn + betalwoff * (lwdn0 - lwdn)
     3784          lwup = lwup + betalwoff * (lwup0 - lwup)
     3785          sollwdown(:)= sollwdown(:) + betalwoff *(-1.*ZFLDN0(:,1) - &
     3786                        sollwdown(:))
     3787          cool = cool + betalwoff * (cool0 - cool)
     3788 
    37573789#ifndef CPP_XIOS
    37583790          !--OB 30/05/2016 modified 21/10/2016
     
    38053837                     tau_aero_lw_rrtm, &
    38063838                     cldtaupi,new_aod, &
     3839!                    zqsat, flwcrad, fiwcrad, &
    38073840                     zqsat, flwc, fiwc, &
    38083841                     ref_liq, ref_ice, ref_liq_pi, ref_ice_pi, &
     
    38263859                     ZLWFT0_i, ZFLDN0, ZFLUP0, &
    38273860                     ZSWFT0_i, ZFSDN0, ZFSUP0)
    3828           endif
    3829           !
     3861          endif !ok_4xCO2atm
    38303862       ENDIF ! aerosol_couple
    38313863       itaprad = 0
Note: See TracChangeset for help on using the changeset viewer.