potential pressure height conversion functions