Relative air mass uses Kasten and Young (1989) as in pvlib 0.16.1, which expects the apparent zenith, so enter the apparent angle. Altitude to pressure uses the pvlib alt2pres formula (standard atmosphere, 288.15 K at sea level). Enter numbers without thousands separators; a decimal comma is accepted.