Ignore:
Timestamp:
Jul 22, 2024, 9:29:09 PM (4 months ago)
Author:
abarral
Message:

Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/qsatseaw_1D.F90

    r5093 r5099  
    11!-------------------------------------------------------------------------------
    2 !
     2
    33!     ######################################
    44REAL       FUNCTION QSATSEAW_1D(PT,PP)
    55!     ######################################
    6 !
     6
    77!!****  *QSATW * - function to compute saturation vapor humidity from
    88!!                 temperature
     
    1212!       The purpose of this function is to compute the saturation vapor
    1313!     pressure from temperature over saline seawater
    14 !     
    15 !
     14
     15
    1616!!**  METHOD
    1717!!    ------
     
    5959!!      Original    6/04/2005
    6060!-------------------------------------------------------------------------------
    61 !
     61
    6262!*       0.    DECLARATIONS
    6363!              ------------
    64 !
     64
    6565USE MODD_CSTS
    6666USE dimphy
     
    7070
    7171!*       0.1   Declarations of arguments and results
    72 !
    73 !
     72
     73
    7474REAL, DIMENSION(klon), INTENT(IN)                :: PT     ! Temperature
    7575                                                        ! (Kelvin)
     
    8080                                                        ! with respect to
    8181                                                        ! water (kg/kg)
    82 !
     82
    8383!*       0.2   Declarations of local variables
    84 !
     84
    8585REAL, DIMENSION(SIZE(PT))                   :: ZFOES  ! saturation vapor
    8686                                                        ! pressure
    8787                                                        ! (Pascal)
    88 !
     88
    8989INTEGER                         :: JJ   ! loop index
    9090!REAL(KIND=JPRB) :: ZHOOK_HANDLE
    9191!-------------------------------------------------------------------------------
    92 !
     92
    9393!IF (LHOOK) CALL DR_HOOK('MODE_THERMOS:QSATSEAW_1D',0,ZHOOK_HANDLE)
    9494!DO JJ = 1, SIZE(PT)
    9595!*       1.    COMPUTE SATURATION VAPOR PRESSURE
    9696!              ---------------------------------
    97 !
     97
    9898ZFOES = 0.98*EXP( XALPW - XBETAW/PT - XGAMW*LOG(PT)  )
    9999! vapor pressure reduction of 2% over saline seawater could have a significant
    100100! impact on the computation of surface latent heat flux under strong wind
    101101! conditions (Zeng et al, 1998).
    102 !
     102
    103103!*       2.    COMPUTE SATURATION HUMIDITY
    104104!              ---------------------------
    105 !
     105
    106106PQSAT = XRD/XRV*ZFOES/PP /(1.+(XRD/XRV-1.)*ZFOES/PP) 
    107 !
     107
    108108!ENDDO
    109109!IF (LHOOK) CALL DR_HOOK('MODE_THERMOS:QSATSEAW_1D',1,ZHOOK_HANDLE)
    110110!-------------------------------------------------------------------------------
    111 !
     111
    112112END FUNCTION QSATSEAW_1D
    113113!------------------------------------
Note: See TracChangeset for help on using the changeset viewer.