Maritime forecast for Spanish coastal waters and high seas
get_maritime_forecastGet an AEMET maritime bulletin for any Spanish sea area: wind, sea state, visibility, warnings, and validity period. Works for coastal waters and high seas using common names or codes.
Instructions
Returns the AEMET maritime bulletin for a sea area: sea state, wind, visibility, warnings and the validity period. Two products are covered: coastal waters (8 bulletins, one per stretch of the Spanish coast, each split into per-province zones and carrying the marine warnings) and high seas (3 bulletins covering the Atlantic north of 30N, the Atlantic south of 35N and the Mediterranean). Areas can be named the way people and the media name them, or given as AEMET codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | Sea area to forecast. Accepts the name people use ('Cantábrico', 'Golfo de Cádiz', 'Baleares', 'Canarias', 'Mediterráneo', 'Atlántico'), a coastal community or province ('Asturias', 'Málaga', 'Girona'), an AEMET high seas zone ('Gran Sol', 'Finisterre', 'Alborán'), or an AEMET area code: 0-2 for high seas, 40-47 for coastal waters. | |
| product | No | Which AEMET product to read. 'coastal' covers Spanish coastal waters out to a few miles and carries warnings; 'high_seas' covers the open Atlantic and Mediterranean zones. Omit to pick the one that matches the area. |