Skip to main content

sun_angle

Function sun_angle 

Source
pub fn sun_angle(
    sat_pos: [f64; 3],
    sun_pos: [f64; 3],
) -> Result<f64, AngleError>
Expand description

Angle (degrees) between satellite nadir and the Sun direction.

sat_pos is the satellite GCRS position (km); sun_pos is the Sun position relative to Earth center (km).