返回顶部
m

marine-forecast海洋天气预报

Marine and sailing weather via Open-Meteo. Waves, swell, sea temperature, wind, tides, ocean currents, and sailing assessments. Free, no API key, global coverage.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
299
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

marine-forecast

海洋预报

使用Open-Meteo海洋API和天气API获取航海和帆船天气。免费,无需API密钥,全球适用。

两个API配合使用——在所有命令中替换LAT、LON和TZ:

  • - 海洋API(marine-api.open-meteo.com)——海浪、涌浪、海水温度、洋流、潮汐
  • 天气API(api.open-meteo.com)——风、阵风、气温、气压、能见度

通过网络搜索或用户输入获取任意位置的坐标。使用最近的时区(IANA格式,例如Europe/London、America/New_York、Atlantic/Canary)。

当前状况

海况:
bash
curl -s https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON¤t=waveheight,wavedirection,waveperiod,swellwaveheight,swellwavedirection,swellwaveperiod,seasurface_temperature&timezone=TZ

风和大气:
bash
curl -s https://api.open-meteo.com/v1/forecast?latitude=LAT&longitude=LON¤t=temperature2m,windspeed10m,winddirection10m,windgusts10m,apparenttemperature,pressuremsl,cloudcover,visibility&timezone=TZ

运行两者并将结果合并为一份简报。

逐时预报

海洋(最多16天,调整forecast_days):
bash
curl -s https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON&hourly=waveheight,wavedirection,waveperiod,swellwaveheight,swellwavedirection,swellwaveperiod,swellwavepeakperiod,windwaveheight,windwavedirection,seasurfacetemperature,oceancurrentvelocity,oceancurrentdirection,sealevelheightmsl&forecastdays=3&timezone=TZ

风(最多16天):
bash
curl -s https://api.open-meteo.com/v1/forecast?latitude=LAT&longitude=LON&hourly=windspeed10m,winddirection10m,windgusts10m,temperature2m,pressuremsl,visibility,cloudcover,precipitationprobability&forecast_days=3&timezone=TZ

每日摘要

海洋:
bash
curl -s https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON&daily=waveheightmax,wavedirectiondominant,waveperiodmax,swellwaveheightmax,swellwavedirectiondominant,swellwaveperiodmax&forecastdays=7&timezone=TZ

天气:
bash
curl -s https://api.open-meteo.com/v1/forecast?latitude=LAT&longitude=LON&daily=windspeed10mmax,windgusts10mmax,winddirection10mdominant,temperature2mmax,temperature2mmin,sunrise,sunset,uvindexmax,precipitationprobabilitymax&forecastdays=7&timezone=TZ

潮汐(海平面)

bash
curl -s https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON&hourly=sealevelheightmsl&forecastdays=3&timezone=TZ

高潮/低潮:在sealevelheight_msl数组中查找局部最大值和最小值。海平面包括潮汐信号和反气压计效应。

洋流

bash
curl -s https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON&hourly=oceancurrentvelocity,oceancurrentdirection&forecast_days=3&timezone=TZ

呈现结果

始终以结构化的航海简报形式呈现海洋数据:

当前状况格式

海况: [waveheight]米浪高,[waveperiod]秒周期,来自[direction]方向
涌浪: [swellwaveheight]米来自[direction]方向,[swellwaveperiod]秒周期
风: [windspeed]公里/小时[direction]方向,阵风[windgusts]公里/小时
温度: 空气[温度]°C(体感[体感温度]°C),海水[seasurfacetemperature]°C
天空: [cloud_cover]%云量,[visibility/1000]公里能见度

航行评估

根据数据评估状况:

  • - 平静——浪高<0.5米,风速<12公里/小时(蒲福风级0-2)
  • 轻风——浪高0.5-1米,风速12-19公里/小时(蒲福风级3)
  • 适中——浪高1-2米,风速20-38公里/小时(蒲福风级4-5)
  • 汹涌——浪高2-3米,风速39-49公里/小时(蒲福风级6)
  • 非常汹涌——浪高3-4米,风速50-61公里/小时(蒲福风级7)
  • 危险——浪高>4米或风速>62公里/小时(蒲福风级8+)

警示标志:

  • - 小型船只预警:阵风>50公里/小时或浪高>3米
  • 大风警报:持续风速>62公里/小时或浪高>5米
  • 建议活动适宜性:帆船、潜水、钓鱼、游泳、冲浪

蒲福风级表

风级公里/小时描述海况
00-1无风平静
1
2-5 | 软风 | 涟漪 | | 2 | 6-11 | 轻风 | 小波 | | 3 | 12-19 | 微风 | 中波 | | 4 | 20-28 | 和风 | 小浪 | | 5 | 29-38 | 清风 | 中浪 | | 6 | 39-49 | 强风 | 大浪 | | 7 | 50-61 | 疾风 | 碎浪 | | 8 | 62-74 | 大风 | 巨浪 | | 9 | 75-88 | 烈风 | 非常巨浪 | | 10 | 89-102 | 暴风 | 异常巨浪 |

风向转换

将度数转换为罗盘方向:除以22.5,四舍五入,索引到[北, 北北东, 东北, 东北东, 东, 东南东, 东南, 南南东, 南, 南南西, 西南, 西南西, 西, 西北西, 西北, 北北西]。

快速参考:0=北,45=东北,90=东,135=东南,180=南,225=西南,270=西,315=西北。

单位

测量项单位
浪高米(m)
浪周期
秒(s) | | 风速 | 公里/小时 | | 温度 | 摄氏度(°C) | | 洋流速度 | 公里/小时 | | 方向 | 度(0=北,90=东,180=南,270=西) | | 海平面 | 相对于平均海平面的米数 | | 能见度 | 米 | | 气压 | 百帕 |

用户可能偏好节作为风速单位。转换:节 = 公里/小时 * 0.539957。在天气API URL中添加&windspeedunit=kn可直接获取节。

热门航行地点(参考)

区域示例纬度经度
加那利群岛拉斯帕尔马斯28.1-15.4
巴利阿里群岛
帕尔马德马略卡 | 39.57 | 2.65 | | 希腊群岛 | 比雷埃夫斯 | 37.94 | 23.65 | | 克罗地亚 | 斯普利特 | 43.51 | 16.44 | | 加勒比海 | 圣马丁 | 18.04 | -63.05 | | 南太平洋 | 塔希提 | -17.53 | -149.57 | | 东南亚 | 普吉岛 | 7.88 | 98.39

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 marine-forecast-1776187873 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 marine-forecast-1776187873 技能

通过命令行安装

skillhub install marine-forecast-1776187873

下载

⬇ 下载 marine-forecast v1.0.0(免费)

文件大小: 3.57 KB | 发布时间: 2026-4-15 13:24

v1.0.0 最新 2026-4-15 13:24
Initial release: marine and sailing weather via Open-Meteo. Waves, swell, sea temperature, wind, tides, ocean currents, Beaufort scale, sailing assessments. Free, no API key, global coverage.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部