get_stargazing_conditions
Score the next nights for stargazing at a location (0-100 per night).
Use for "when should I stargaze this week near X", "is Saturday any good
for the Milky Way", trip planning. Each night combines the three-layer
cloud-cover forecast, moon illumination and up-fraction, and the
astronomical-darkness window; `best_window` names the best upcoming night.
Also returns the location's light-pollution estimate (approximate Bortle
class + what's visible at that darkness).
Args:
lat: Latitude in decimal degrees (-90..90). You know city coordinates — pass them.
lon: Longitude in decimal degrees (-180..180).
nights: How many nights ahead to score, 1-16 (default 7; forecasts
beyond ~7 nights are increasingly uncertain).
Returns {timezone, light_pollution, nights:[{date, darkness, moon, cloud,
score:{value, band, summary}}], best_window, uncertainty_note, attribution}.
Present scores/verdicts verbatim; skies beyond ~7 days are provisional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| nights | No |