sup3r.utilities.utilities.potential_temperature_difference
- potential_temperature_difference(T_top, P_top, T_bottom, P_bottom)[source]
Potential temp difference 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 – Difference in potential temperature between top and bottom levels