Skip to content

Analysis

Finds missing dates in the daily climate report history for a station.

GET /api/v1/analysis/climate-gaps

NameTypeRequiredDescription
stationstringYesStation code
fromstringNoStart date (YYYY-MM-DD). Default: 5 years ago
tostringNoEnd date (YYYY-MM-DD). Default: today

Maximum date range: 10 years.

Terminal window
curl "https://api.mostlyright.xyz/api/v1/analysis/climate-gaps?station=NYC&from=2026-03-01&to=2026-03-20"
from therminal import TherminalClient
client = TherminalClient()
client.climate_gaps(station="NYC", from_date="2026-03-01")
[
{
"station_code": "NYC",
"gap_start": "2026-03-20",
"gap_end": "2026-03-20",
"missing_days": 1
}
]
GET /api/v1/analysis/climate-gaps
Click "Send →" to try it live

Analyzes gaps in the climate report data. See Data Sources for details on report types and gap-filling methodology.