#NEWLINE# def absoluteairmass( airmass_relative , pressure = 101325.0 ) : #NEWLINE# #INDENT# '\n    Determine absolute (pressure corrected) airmass from relative\n    airmass and pressure\n\n    Gives the airmass for locations not at sea-level (i.e. not at\n    standard pressure). The input argument "AMrelative" is the relative\n    airmass. The input argument "pressure" is the pressure (in Pascals)\n    at the location of interest and must be greater than 0. The\n    calculation for absolute airmass is\n\n    .. math::\n        absolute airmass = (relative airmass)*pressure/101325\n\n    Parameters\n    ----------\n\n    airmass_relative : scalar or Series\n        The airmass at sea-level.\n\n    pressure : scalar or Series\n        The site pressure in Pascal.\n\n    Returns\n    -------\n    scalar or Series\n        Absolute (pressure corrected) airmass\n\n    References\n    ----------\n    [1] C. Gueymard, "Critical analysis and performance assessment of\n    clear sky solar irradiance models using theoretical and measured\n    data," Solar Energy, vol. 51, pp. 121-138, 1993.\n\n    ' #NEWLINE# airmass_absolute = ( ( airmass_relative * pressure ) / 101325.0 ) #NEWLINE# return airmass_absolute