get_weather_analysis
Retrieve the past 24 hours of gridded analysis for a location, giving actual (not forecast) weather conditions. Use for nowcasting, verifying past forecasts, or checking historical weather.
Instructions
Get the past ~24 hours of gridded meteorological analysis for a location, from SMHI's Mesan2gv3 API — a "best current estimate" of conditions (observations blended with a short-range model on a ~2.5 km grid), not a forecast. Use this for nowcasting ("what's actually happening right now" at a point without a nearby observation station), verifying how a past forecast turned out, or "what was the weather really like" lookups; use the forecast tools instead for future conditions. Returns hourly entries (most recent first) with temperature (°C, plus min/max at some hours), dew point, wet-bulb temperature, wind (m/s), pressure (hPa, sea-level and station), visibility (km), cloud cover layers and base/top altitude (%, m), precipitation over the last 1/3/12/24h (mm, later windows only populated at some hours), snow depth change (cm), and a human-readable weather description. Returns an error result (isError: true) if coordinates are out of range or the SMHI API is unreachable. Coverage: Sweden, Norway, Finland, Denmark, Estonia, and parts of Latvia/Lithuania.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Number of most recent hours to return (1-24, default 24) | |
| latitude | Yes | Latitude of the location (-90 to 90) | |
| longitude | Yes | Longitude of the location (-180 to 180) |