Analysis
Climate Gaps
Section titled “Climate Gaps”Finds missing dates in the daily climate report history for a station.
GET /api/v1/analysis/climate-gaps
Parameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
station | string | Yes | Station code |
from | string | No | Start date (YYYY-MM-DD). Default: 5 years ago |
to | string | No | End date (YYYY-MM-DD). Default: today |
Maximum date range: 10 years.
Example
Section titled “Example”curl "https://api.mostlyright.xyz/api/v1/analysis/climate-gaps?station=NYC&from=2026-03-01&to=2026-03-20"from therminal import TherminalClientclient = TherminalClient()client.climate_gaps(station="NYC", from_date="2026-03-01")Response
Section titled “Response”[ { "station_code": "NYC", "gap_start": "2026-03-20", "gap_end": "2026-03-20", "missing_days": 1 }]Try it
Section titled “Try it” GET
/api/v1/analysis/climate-gaps Click "Send →" to try it live Data source
Section titled “Data source”Analyzes gaps in the climate report data. See Data Sources for details on report types and gap-filling methodology.