Solar guide · Independent benchmark

Solar Azimuth and Altitude: A Worked Example

Compare the NREL SPA canonical Golden, Colorado position with Solar Path Tracker azimuth, altitude, and explicit angular differences.

Published
Updated

Solar azimuth and altitude are a coordinate pair. Azimuth locates the Sun around the horizon, while altitude locates it above or below that horizon. A useful worked example keeps the location, date, timezone, and local time explicit so another reader can reproduce the result.

This page demonstrates interpretation, not a hand-derived replacement for an astronomical algorithm. The numeric table is produced by the same calculation functions used by the site’s Solar Azimuth & Altitude Calculator, then rounded only for display.

Define every input before reading the output

Latitude and longitude anchor the observer. The calendar date establishes the seasonal declination, and the IANA timezone converts the selected local clock time to the instant required by the solar-position calculation. Changing any one of these inputs can change both output angles.

The site normalizes azimuth into 0–360° clockwise from true north. Altitude remains signed: positive above the horizon and negative below it. This convention avoids the ambiguity that occurs when a bearing and an elevation are reported without definitions.

Read direction before drawing conclusions

A cardinal label such as north-east is a readable summary of the numeric bearing, but the degree value is more precise. For a facade, street, or camera axis, compare the actual bearings rather than assuming every direction within one cardinal sector is equivalent.

Altitude tells you whether direct rays can clear a level horizon, but not whether they clear the real skyline. The next step is always an obstruction check.

Independent benchmark

NREL SPA canonical Golden, Colorado comparison

The published NREL Solar Position Algorithm example supplies a fixed instant, coordinates, and expected angles. Solar Path Tracker runs those inputs through its production engine, uses clockwise-from-true-north azimuth, and reports the absolute circular difference against a 0.5° tolerance.

UTC instant
2003-10-17T19:30:30.000Z
Coordinates
39.742476, -105.1786
Tolerance
±0.5° per angle
Overall result
Pass
NREL expected and Solar Path Tracker actual angle comparison
AngleNREL expectedSite resultAbsolute deltaResult
Azimuth194.34024°193.99000°0.35024°Pass
Altitude39.88838°39.95000°0.06162°Pass

Azimuth is normalized to 0–360° clockwise from true north. Altitude is positive above the astronomical horizon. The comparison validates this fixed case only and is not NREL certification or approval.

Download the evidence dataset

NREL SPA expected angles, Solar Path Tracker results, and absolute circular differences for the canonical Golden case. The UTF-8 CSV uses a fixed column order and contains calculated values only.

Reproduce the calculation in the tool

Open the Solar Azimuth & Altitude Calculator, enter 39.742476, −105.1786, choose 17 October 2003, and select 13:30 in America/Denver. The minute-level interface should closely reproduce the evidence table; the validation registry evaluates the exact 19:30:30 UTC instant.

Keep the external expected values separate from the site result. The downloadable benchmark CSV records expected, actual, delta, tolerance, and pass/fail so a dependency upgrade can be checked without silently changing the reference.

Responsible use

Practical uses and model limits

Useful for

  • Checking the expected direction of direct light at a scheduled observation time.
  • Teaching the difference between a compass bearing and an elevation angle.
  • Creating a reproducible baseline before comparing a real skyline or shadow measurement.

Do not overlook

  • Displayed values are rounded; do not treat the final decimal place as surveyed precision.
  • The calculation does not include a digital elevation model, object geometry, weather, or atmospheric visibility.
  • Solar angles do not by themselves calculate panel energy yield, optimal tilt, glare, or code compliance.

Sources and reproducibility

Evidence and calculation sources

  • NREL Solar Position Algorithm report

    Published canonical position case used as an external comparison; NREL does not certify or endorse this site.

  • SunCalc

    Solar position and astronomical event calculations used by this site.

  • Luxon

    IANA timezone-aware conversion between the selected local time and UTC.

  • Solar Path Tracker methodology

    Definitions, angle normalization, polar handling, precision, and model limits.