Bilibili Video Transcriber
自动获取B站视频字幕、语音转文字并分析评论,支持飞书通知与多平台兼容。
基于Open-Meteo提供全球海况与航行气象数据,无需API密钥。
openclaw skills install @alexissan/marine-forecast命令、参数、文件名以原文为准
使用 Open-Meteo 海洋 API 与天气 API 提供的海洋与航行天气信息。免费,无需 API 密钥,全球可用。
两个 API 联合使用 —— 在所有命令中替换 LAT、LON 和 TZ:
marine-api.open-meteo.com)—— 波浪、涌浪、海温、洋流、潮汐api.open-meteo.com)—— 风速、阵风、气温、气压、能见度可通过网络搜索或用户输入获取任意位置的坐标。使用最近的时区(IANA 格式,例如 Europe/London、America/New_York、Atlantic/Canary)。
海况:
curl -s "https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON¤t=wave_height,wave_direction,wave_period,swell_wave_height,swell_wave_direction,swell_wave_period,sea_surface_temperature&timezone=TZ"风与大气:
curl -s "https://api.open-meteo.com/v1/forecast?latitude=LAT&longitude=LON¤t=temperature_2m,wind_speed_10m,wind_direction_10m,wind_gusts_10m,apparent_temperature,pressure_msl,cloud_cover,visibility&timezone=TZ"运行两个请求,并将结果合并为一份综合简报。
海洋(最多 16 天,可调整 forecast_days):
curl -s "https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON&hourly=wave_height,wave_direction,wave_period,swell_wave_height,swell_wave_direction,swell_wave_period,swell_wave_peak_period,wind_wave_height,wind_wave_direction,sea_surface_temperature,ocean_current_velocity,ocean_current_direction,sea_level_height_msl&forecast_days=3&timezone=TZ"风力(最多 16 天):
curl -s "https://api.open-meteo.com/v1/forecast?latitude=LAT&longitude=LON&hourly=wind_speed_10m,wind_direction_10m,wind_gusts_10m,temperature_2m,pressure_msl,visibility,cloud_cover,precipitation_probability&forecast_days=3&timezone=TZ"海洋:
curl -s "https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON&daily=wave_height_max,wave_direction_dominant,wave_period_max,swell_wave_height_max,swell_wave_direction_dominant,swell_wave_period_max&forecast_days=7&timezone=TZ"天气:
curl -s "https://api.open-meteo.com/v1/forecast?latitude=LAT&longitude=LON&daily=wind_speed_10m_max,wind_gusts_10m_max,wind_direction_10m_dominant,temperature_2m_max,temperature_2m_min,sunrise,sunset,uv_index_max,precipitation_probability_max&forecast_days=7&timezone=TZ"curl -s "https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON&hourly=sea_level_height_msl&forecast_days=3&timezone=TZ"高潮/低潮:在 sea_level_height_msl 数组中查找局部最大值和最小值。海平面包含潮汐信号 + 倒置气压效应。
curl -s "https://marine-api.open-meteo.com/v1/marine?latitude=LAT&longitude=LON&hourly=ocean_current_velocity,ocean_current_direction&forecast_days=3&timezone=TZ"始终以结构化航海简报形式呈现海洋数据:
海况: [wave_height]m 波浪,[wave_period]s 周期,来自 [direction]
涌浪: [swell_wave_height]m 来自 [direction],[swell_wave_period]s 周期
风力: [wind_speed] km/h [direction],阵风 [wind_gusts] km/h
温度: 空气 [temperature]C(体感 [apparent_temperature]C),海水 [sea_surface_temperature]C
天空: [cloud_cover]% 云量,[visibility/1000]km 能见度根据数据对条件进行评级:
标记预警:
| 风力 | km/h | 描述 | 海面状态 |
|---|---|---|---|
| 0 | 0-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,四舍五入,索引到 [N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW]。
快速参考:0=N,45=NE,90=E,135=SE,180=S,225=SW,270=W,315=NW。
| 测量项 | 单位 |
|---|---|
| 波高 | 米(m) |
| 波周期 | 秒(s) |
| 风速 | 公里每小时(km/h) |
| 温度 | 摄氏度(C) |
| 洋流速度 | 公里每小时(km/h) |
| 方向 | 度(0=N,90=E,180=S,270=W) |
| 海平面 | 相对于平均海平面的米(MSL) |
| 能见度 | 米 |
| 气压 | 百帕(hPa) |
用户可能更习惯使用节(knots)表示风速。换算方式:knots = km/h * 0.539957。可在天气 API URL 中添加 &wind_speed_unit=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 |
| 东非 | 宁巴岛 | -6.16 | 39.19 |
| 澳大利亚 | 悉尼 | -33.87 | 151.21 |
| 美国东海岸 | 安纳波利斯 | 38.97 | -76.49 |
| 英国 | 索伦特 | 50.77 | -1.30 |
| 斯堪的纳维亚 | 哥德堡 | 57.71 | 11.97 |
forecast_days=16)jq 工具,请使用它解析;否则直接读取原始 JSON。current 参数;如用于规划,使用 daily;仅当用户需要详细分解时,才使用 hourly。文档:https://open-meteo.com/en/docs/marine-weather-api
已收录 1 个 Skill