get_climate_data
Get climate observations from NOAA Climate Data Online.
Returns historical weather measurements such as temperature, precipitation,
and snowfall. You must provide either a station_id or a FIPS code to
identify the location, and a date range.
Args:
station_id: NOAA station identifier (e.g. 'GHCND:USW00094728' for Central Park).
fips: FIPS code for county or state (e.g. '36' for New York state, '36061' for Manhattan).
dataset: Dataset ID. Common values: 'GHCND' (daily summaries), 'GSOM' (monthly),
'GSOY' (annual), 'NORMAL_DLY' (daily normals). Default is 'GHCND'.
start_date: Start date in YYYY-MM-DD format. Required for most datasets.
end_date: End date in YYYY-MM-DD format. Required for most datasets.
data_types: Comma-separated data type IDs to filter. Common types:
TMAX (max temp), TMIN (min temp), TAVG (avg temp),
PRCP (precipitation), SNOW (snowfall), SNWD (snow depth),
AWND (avg wind speed). If omitted, all available types are returned.
limit: Maximum number of records to return (default 100, max 1000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fips | No | ||
| limit | No | ||
| dataset | No | GHCND | |
| end_date | No | ||
| data_types | No | ||
| start_date | No | ||
| station_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |