Mountain bulletin for a Spanish mountain area
get_mountain_forecastGet the AEMET mountain bulletin for Spain's nine mountain areas, with sky, precipitation, wind, freezing levels, and refuge temperatures. Use it for mountain forecasts above the valley floor.
Instructions
Returns the AEMET mountain bulletin for one of Spain's nine mountain areas (Picos de Europa, the three Pyrenean areas, the two Iberian System areas, Guadarrama and Somosierra, Sierra de Gredos, Sierra Nevada). Written for mountaineers and skiers: sky state, precipitation, storms, temperature and wind as forecaster prose, plus the freezing and -10 °C levels, free-atmosphere winds at 1500 and 3000 m, and minimum and maximum temperatures with thermal sensation at named refuges, passes and resorts. mode='forecast' covers today (day 0) to day 3; mode='past' summarises the last 24 hours. These bulletins are year-round and cover the mountain range as a whole, so use them instead of get_forecast for anything above the valley floor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Which forecast day to read: 0 (today, default) to 3. AEMET rejects day 4 and beyond. Ignored when mode='past'. | |
| area | Yes | AEMET mountain area, by name ('Picos de Europa', 'Pirineo Aragonés', 'Sierra Nevada', 'Guadarrama', 'Gredos', 'Moncayo') or by code ('peu1', 'nav1', 'arn1', 'cat1', 'rio1', 'arn2', 'mad2', 'gre1', 'nev1'). Accents are optional. | |
| mode | No | 'forecast' (default) returns the bulletin for the requested day. 'past' returns AEMET's summary of the last 24 hours and ignores `day`. |