sup3r.utilities.utilities.potential_temperature_average
- potential_temperature_average(T_top, P_top, T_bottom, P_bottom)[source]
Potential temp average calculation
- Parameters:
T_top (ndarray) – Temperature at higher height. Used in the approximation of potential temperature derivative
T_bottom (ndarray) – Temperature at lower height. Used in the approximation of potential temperature derivative
P_top (ndarray) – Pressure at higher height. Used in the approximation of potential temperature derivative
P_bottom (ndarray) – Pressure at lower height. Used in the approximation of potential temperature derivative
- Returns:
ndarray – Average of potential temperature between top and bottom levels