Convert a scanner range, azimuth, and elevation into Cartesian coordinates — Partial shadow
Convert a scanner range, azimuth, and elevation into Cartesian coordinates — a worked case for partial shadow, with explicit data, a sensitivity comparison and an independent evidence check.

The measurement question
A range and two angles describe a point only after their axis and angle conventions are known. In an illustrative mathematical convention, azimuth is counterclockwise from positive x and elevation is above the xy plane. A 100 m range at azimuth 30 degrees and elevation −45 degrees becomes approximately (61.237,35.355,−70.711) m. These are scanner-frame coordinates, not map coordinates. A practical georeferencing chain still applies the scanner-to-platform rotation, lever arm, platform attitude, and trajectory position. Many instruments define azimuth or vertical angle differently, so copying an otherwise correct spherical conversion into a decoder without inspecting the convention can mirror or rotate the cloud.
This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.
Case conditions and evidence
The work surface includes a shadow boundary crossing otherwise similar material. A change in illumination can create an apparent difference that should not automatically be interpreted as a physical change. Tag observations by illumination condition and keep a reference patch visible in both groups where practical.
Recompute the check for lit and shaded observations separately. A pooled value can be numerically reproducible while still hiding a systematic difference between the groups.

Reproduce the numerical check
Illustrative input data: Range (range_m) = 100 m; Elevation above xy plane (elevation) = -45 degrees; Counterclockwise azimuth from+x (azimuth) = 40 degrees.
Calculation: range_m*cos(radians(elevation))*cos(radians(azimuth)).
Scanner-frame Cartesian x coordinate = 54.167522 m.
The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.
Change one assumption
Increase only counterclockwise azimuth from+x (azimuth) from 40 to 44 degrees. Re-evaluating the same equation gives scanner-frame cartesian x coordinate = 50.865005 m. The arithmetic difference from the baseline is -3.302517 m.
For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.
Interpret the result
Write down angle origins, directions, units, and frame handedness before decoding range observations. Validate scanner-frame coordinates first, then apply the separately documented georeferencing chain so a convention error is not hidden inside later transformations.
Zenith angle and elevation are different quantities, and degrees cannot enter radian trigonometric functions unchanged. Time alignment, encoder calibration, lever arms, and attitude errors remain even when the local spherical-to-Cartesian conversion is mathematically correct.
Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.
Independent checks and delivery
Test zero-angle and axis-aligned rays, then confirm the Cartesian vector length equals the input range. Compare several known targets with an independent decoder and inspect whether rotations, signs, or mirrored axes appear before applying map coordinates.
Supply the illumination grouping, the acquisition times and representative original observations. Explain whether the comparison is between like conditions or across an unresolved lighting change.
Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.



