def alt2pres(altitude):

    press = 100 * ((44331.514 - altitude) / 11880.516) ** (1 / 0.1902632)

    return press
Determine site pressure from altitude.
dataset/ETHPy150Open pvlib/pvlib-python/pvlib/atmosphere.py/alt2pres