is an option for SunPosition, MoonPosition, and related functions that determines whether to take atmospheric refraction into account when computing altitude.


AltitudeMethod
is an option for SunPosition, MoonPosition, and related functions that determines whether to take atmospheric refraction into account when computing altitude.
Details

- Typical settings for AltitudeMethod include:
-
"TrueAltitude" assume no atmospheric refraction for altitude computations "ApparentAltitude" take atmospheric refraction into account for altitude computations - The typical default setting for AltitudeMethod is "TrueAltitude".
Examples
Basic Examples (2)
The default setting for AltitudeMethod simulates atmospheric refraction for the Sun:
Ignore atmospheric refraction when computing the altitude of the Sun:
The default setting for AltitudeMethod simulates atmospheric refraction for the Moon:
Ignore atmospheric refraction when computing the altitude of the Moon:
See Also
History
Text
Wolfram Research (2014), AltitudeMethod, Wolfram Language function, https://reference.wolfram.com/language/ref/AltitudeMethod.html.
CMS
Wolfram Language. 2014. "AltitudeMethod." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AltitudeMethod.html.
APA
Wolfram Language. (2014). AltitudeMethod. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AltitudeMethod.html
BibTeX
@misc{reference.wolfram_2025_altitudemethod, author="Wolfram Research", title="{AltitudeMethod}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/AltitudeMethod.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_altitudemethod, organization={Wolfram Research}, title={AltitudeMethod}, year={2014}, url={https://reference.wolfram.com/language/ref/AltitudeMethod.html}, note=[Accessed: 08-August-2025]}