surfaceTemperature

Functions

MO(rho, ust, T2, H)

Get the Monin-Obukhov length.

call_secant_jitted(GRID, dt, z, z0, T2, rH2, ...)

Jitted call to secant.py.

check_residual_clip(residual, lower_bound)

Raise error if the surface temperature is out of bounds.

eb_fluxes(GRID, T0, dt, z, z0, T2, rH2, p, ...)

Get the surface fluxes and apply the Monin-Obukhov stability correction.

eb_optim(T0, GRID, dt, z, z0, T2, rH2, p, ...)

Optimization function to solve for surface temperature T0.

get_latent_heat_flux(rho, Lv, Cs_q, u2, dq, ...)

Get latent heat flux.

get_saturation_vapor_pressure(T_0, T_2)

Get saturation vapour pressure.

get_sensible_heat_flux(rho, Cs_t, u2, dT, ...)

Get sensible heat flux.

get_subsurface_temperature(GRID, ...)

Get subsurface temperature.

interp_subT(GRID)

Interpolate subsurface temperature to depths used for ground heat flux.

method_EW_Sonntag(T)

Get the saturation vapor pressure.

phi_m(z, L)

Get the integrated stability function for momentum.

phi_m_stable(z, L)

Get integrated stability function for momentum, stable conditions.

phi_tq(z, L)

Stability function for the heat and moisture flux.

update_surface_temperature(GRID, dt, z, z0, ...)

Solve the surface temperature and get the surface fluxes.

ustar(u2, z, z0, L)

Get the friction velocity.