Calculate the potential temperature.
p0 (float) – Pressure at reference level [Pa].
ndarray – Potential temperature [K].