Ignore:
Timestamp:
Jun 13, 2020, 1:59:26 PM (4 years ago)
Author:
dubos
Message:

simple_physics : output LW fluxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/simple_physics/phyparam/physics/radiative_lw.F90

    r4233 r4244  
    1818       pp,ps_rad,ptsurf,pt,              &
    1919       pfluxir,pdtlw,                    &
    20        lwrite)
     20       lverbose, lwrite)
    2121    USE phys_const, ONLY : cpp, g
     22    USE writefield_mod, ONLY : writefield
    2223    !=======================================================================
    2324    !
     
    5657    REAL,    INTENT(IN)  ::  ptsurf(ngrid),pt(ngrid,nlayer),pp(ngrid,nlayer+1)
    5758    REAL,    INTENT(OUT) ::  pdtlw(ngrid,nlayer),pfluxir(ngrid)
    58     LOGICAL, INTENT(IN)  :: lwrite
     59    LOGICAL, INTENT(IN)  :: lwrite, lverbose
    5960
    6061    !   variables locales:
     
    8687          ENDDO
    8788       ENDDO
    88        IF(lwrite) THEN
     89       IF(lverbose) THEN
    8990          DO ilev=1,nlayer
    9091             WRITELOG(*,*) ' up(',ilev,')  =  ',zup(ngrid/2+1,ilev)
     
    205206    !   ------------------------
    206207
    207     IF (lwrite) THEN
     208    IF (lverbose) THEN
    208209       WRITELOG(*,*) 'Diagnostique rayonnement thermique'
    209210       WRITELOG(*,*) 'temperature     ', &
     
    219220    ENDIF
    220221
     222    IF(lwrite) THEN
     223       CALL writefield('lwflux_up', 'Upward LW flux', 'W/m2', zfluxup)
     224       CALL writefield('lwflux_down', 'Downward LW flux', 'W/m2', zfluxdn)
     225    END IF
    221226    !-----------------------------------------------------------------------
    222227
Note: See TracChangeset for help on using the changeset viewer.