Get station observations
get_observationsMETAR surface observations from weather stations: temperature, wind, visibility, ceiling, flight category, raw METAR. Nearest mode (default) returns the closest N stations to a location; station mode returns history for a specific ICAO identifier. Examples: {"location": "Denver", "n": 3} or {"station": "KJFK", "hours": 6}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of nearest stations (1-10). Default 1. Ignored in station mode. | |
| lat | No | Latitude in decimal degrees (-90 to 90). Most tools also accept a `location` place-name string instead of lat/lon. | |
| lon | No | Longitude in decimal degrees (-180 to 180). For continental US use negative values (west of the prime meridian). | |
| hours | No | Hours of history in station mode (1-24). | |
| station | No | ICAO station identifier (e.g. KJFK). Switches to station-history mode. | |
| location | No | Free-text place: city ("Denver"), city+state ("Portland, OR"), US ZIP ("50219"), or "lat,lon" ("39.74,-104.99"). Provide either this OR explicit lat+lon, not both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station | No | ||
| location | No | ||
| observations | Yes |