pvlib.atmosphere.pres2alt#

pvlib.atmosphere.pres2alt(pressure)[source]#

Determine altitude from site pressure.

Parameters:

pressure (numeric) – Atmospheric pressure. [Pa]

Returns:

altitude (numeric) – Altitude above sea level. [m]

Notes

The following assumptions are made

Parameter

Value

Base pressure

101325 Pa

Temperature at zero altitude

288.15 K

Gravitational acceleration

9.80665 m/s^2

Lapse rate

-6.5E-3 K/m

Gas constant for air

287.053 J/(kg K)

Relative Humidity

0%

References