Compute surface fluxes of momentum, energy and moisture, and define surface skin temperature from energy balance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | psa(ix,il) | Normalised surface pressure  | 
  
||
| real, | intent(in) | :: | ua(ix,il,kx) | u-wind  | 
  
||
| real, | intent(in) | :: | va(ix,il,kx) | v-wind  | 
  
||
| real, | intent(in) | :: | ta(ix,il,kx) | Temperature  | 
  
||
| real, | intent(in) | :: | qa(ix,il,kx) | Specific humidity [g/kg]  | 
  
||
| real, | intent(in) | :: | rh(ix,il,kx) | Relative humidity  | 
  
||
| real, | intent(in) | :: | phi(ix,il,kx) | Geopotential  | 
  
||
| real, | intent(in) | :: | phi0(ix,il) | Surface geopotential  | 
  
||
| real, | intent(in) | :: | fmask(ix,il) | Fractional land-sea mask  | 
  
||
| real, | intent(in) | :: | tsea(ix,il) | Sea-surface temperature  | 
  
||
| real, | intent(in) | :: | ssrd(ix,il) | Downward flux of short-wave radiation at the surface  | 
  
||
| real, | intent(in) | :: | slrd(ix,il) | Downward flux of long-wave radiation at the surface  | 
  
||
| real, | intent(out) | :: | ustr(ix,il,3) | u-stress  | 
  
||
| real, | intent(out) | :: | vstr(ix,il,3) | v-stress  | 
  
||
| real, | intent(out) | :: | shf(ix,il,3) | Sensible heat flux  | 
  
||
| real, | intent(out) | :: | evap(ix,il,3) | Evaporation  | 
  
||
| real, | intent(out) | :: | slru(ix,il,3) | Upward flux of long-wave radiation at the surface  | 
  
||
| real, | intent(out) | :: | hfluxn(ix,il,2) | Net downward heat flux  | 
  
||
| real, | intent(out) | :: | tsfc(ix,il) | Surface temperature  | 
  
||
| real, | intent(out) | :: | tskin(ix,il) | Skin surface temperature  | 
  
||
| real, | intent(out) | :: | u0(ix,il) | Near-surface u-wind  | 
  
||
| real, | intent(out) | :: | v0(ix,il) | Near-surface v-wind  | 
  
||
| real, | intent(out) | :: | t0(ix,il) | Near-surface temperature  | 
  
||
| logical, | intent(in) | :: | lfluxland |