get_historical_data
Retrieve historical water temperature and flow data for Swiss Aare river cities to analyze trends and compare conditions over time periods.
Instructions
Retrieves historical time-series data for trend analysis.
Takes city, start, and end parameters (all required).
Returns hourly data points for temperature and flow.
Use this for questions like "how has temperature changed this week?" or "what was the warmest day this month?"
Args:
city: City identifier (e.g., 'Bern', 'Thun', 'basel', 'olten')
start: Start date/time. Accepts ISO format (2024-11-01T00:00:00Z),
Unix timestamp, or relative expressions like '-7 days', '-1 week'.
end: End date/time. Accepts ISO format, Unix timestamp, or 'now' for current time.
Returns: Dictionary containing: - timestamps (list[str]): ISO 8601 timestamps for each data point - temperatures (list[float]): Water temperatures in Celsius - flows (list[float]): Flow rates in m³/s - city (str): City identifier - start (str): Start timestamp of data range - end (str): End timestamp of data range
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| start | Yes | ||
| end | Yes |