Loops over all stations from get_station_info() and fetches Open-Meteo
Marine API forecasts. Soft dependency: any per-station failure is logged
and skipped, never aborts.
Usage
fetch_all_marine_forecasts(
station_info = get_station_info(),
forecast_days = 7,
timeout = 30
)
Arguments
- station_info
Data frame with station_id, lat, lon columns.
- forecast_days
Integer number of forecast days (default 7).
- timeout
Numeric request timeout in seconds (default 30).
Value
Combined tibble of all station marine forecasts. Empty tibble if
every station failed.
See also
Other storm-alert:
beaufort_to_description(),
create_storm_alert_email(),
detect_storm_events(),
fetch_all_forecasts(),
fetch_met_eireann_warnings(),
fetch_open_meteo_forecast(),
fetch_open_meteo_marine(),
knots_to_beaufort(),
p_hmax_exceedance(),
send_storm_alert(),
summarise_forecast_rogue_risk()
Examples
if (FALSE) { # \dontrun{
fetch_all_marine_forecasts()
} # }