Searches for the first solar eclipse visible at a specific location on Earth's
surface that occurs after the given start time. Note: an eclipse reported by
this function might be partly or completely invisible due to the time of day.
To find a series of eclipses, use next_local_solar_eclipse with the
peak time from the previous result.
Value
A list containing:
- status
Status code (0 = success).
- kind
Type of eclipse: 0 = partial, 1 = annular, 2 = total.
- partial_begin
Start of partial eclipse (list with
timeandaltitude).- total_begin
Start of total/annular eclipse (list with
timeandaltitude).- peak
Peak of eclipse (list with
timeandaltitude).- total_end
End of total/annular eclipse (list with
timeandaltitude).- partial_end
End of partial eclipse (list with
timeandaltitude).
Examples
start <- as.POSIXct("2025-01-01", tz = "UTC")
eclipse <- search_local_solar_eclipse(start, latitude = 37.77, longitude = -122.41)