Expand description
Error types for the solar positioning library.
Enums§
- Error
- Errors that can occur during solar position calculations.
Functions§
- check_
azimuth - Validates and normalizes an azimuth angle to the range [0, 360) degrees.
- check_
coordinates - Validates both latitude and longitude are within valid ranges.
- check_
latitude - Validates latitude is within the valid range (-90 to +90 degrees).
- check_
longitude - Validates longitude is within the valid range (-180 to +180 degrees).
- check_
pressure - Validates pressure is positive and reasonable for atmospheric calculations.
- check_
refraction_ params_ usable - Check if pressure and temperature parameters are usable for refraction correction.
- check_
temperature - Validates temperature is above absolute zero and reasonable for atmospheric calculations.
- check_
zenith_ angle - Validates a zenith angle to be within the range [0, 180] degrees.
Type Aliases§
- Result
- Result type alias for operations in this crate.