Function check_zenith_angle
Source pub fn check_zenith_angle(zenith: f64) -> Result<f64>
Expand description
Validates a zenith angle to be within the range [0, 180] degrees.
§Arguments
zenith - Zenith angle in degrees
§Returns
The zenith angle if valid, or error if invalid
§Errors
Returns ComputationError if zenith angle is not finite or outside valid range.