Changeset 11182 for NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/src/OCE/SBC/sbcblk_phy.F90
- Timestamp:
- 2019-06-26T12:08:17+02:00 (5 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/src/OCE/SBC/sbcblk_phy.F90
r11181 r11182 1 MODULE sbcblk_phy mbl1 MODULE sbcblk_phy 2 2 !!====================================================================== 3 !! *** MODULE sbcblk_phy mbl***3 !! *** MODULE sbcblk_phy *** 4 4 !! A set of functions to compute air themodynamics parameters 5 5 !! needed by Aerodynamic Bulk Formulas … … 15 15 !! visc_air : kinematic viscosity (aka Nu_air) of air from temperature 16 16 17 USE oce ! ocean dynamics and tracers18 17 USE dom_oce ! ocean space and time domain 19 18 USE phycst ! physical constants 20 !USE sbc_oce ! Surface boundary condition: ocean fields21 !USE sbcdcy ! surface boundary condition: diurnal cycle22 !USE sbcwave , ONLY : cdn_wave ! wave module23 !USE sbc_ice ! Surface boundary condition: ice fields24 USE lib_fortran ! to use key_nosignedzero25 !26 !USE iom ! I/O manager library27 !USE in_out_manager ! I/O manager28 USE lib_mpp ! distribued memory computing library29 !USE lbclnk ! ocean lateral boundary conditions (or mpp link)30 !USE prtctl ! Print control31 19 32 20 IMPLICIT NONE … … 98 86 ! 99 87 INTEGER :: ji, jj ! dummy loop indices 100 REAL(wp) :: z e_sat, ztmp ! local scalar88 REAL(wp) :: zta, ze_sat, ztmp ! local scalar 101 89 !!---------------------------------------------------------------------------------- 102 90 ! … … 104 92 DO ji = 1, jpi 105 93 ! 106 ztmp = rt0 / ptak(ji,jj) 94 zta = MAX( ptak(ji,jj) , 180._wp ) ! air temp., prevents fpe0 errors dute to unrealistically low values over masked regions... 95 ztmp = rt0 / zta 107 96 ! 108 97 ! Vapour pressure at saturation [hPa] : WMO, (Goff, 1957) 109 ze_sat = 10.**( 10.79574*(1. - ztmp) - 5.028*LOG10( ptak(ji,jj)/rt0) &110 & + 1.50475*10.**(-4)*(1. - 10.**(-8.2969*( ptak(ji,jj)/rt0 - 1.)) ) &98 ze_sat = 10.**( 10.79574*(1. - ztmp) - 5.028*LOG10(zta/rt0) & 99 & + 1.50475*10.**(-4)*(1. - 10.**(-8.2969*(zta/rt0 - 1.)) ) & 111 100 & + 0.42873*10.**(-3)*(10.**(4.76955*(1. - ztmp)) - 1.) + 0.78614 ) 112 101 ! … … 191 180 192 181 !!====================================================================== 193 END MODULE sbcblk_phy mbl182 END MODULE sbcblk_phy
Note: See TracChangeset
for help on using the changeset viewer.