海浪预报
访问限制 本部分 API 属于增值服务,开发者 Token 需要额外开通权限,请联系商务
bash
curl "https://singer.caiyunhub.com/v3/sea/wave?token={token}&latitude={latitude}&longitude={longitude}&hours={hours}"
返回结构
json
{
"shts_1": [
9999,
9999,
9999,
9999,
0.06,
0.06,
0.07,
0.29,
0.23,
0.15,
0.11,
0.09
],
"shts_2": [
9999,
9999,
9999,
9999,
9999,
9999,
9999,
0.07,
0.08,
9999,
0.06,
0.08
],
"shts_3": [
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
0.05
],
"swdir_1": [
9999,
9999,
9999,
9999,
129.86,
129.94,
127.85,
25.93,
30.74,
14.53,
15.37,
109.45
],
"swdir_2": [
9999,
9999,
9999,
9999,
9999,
9999,
9999,
126.97,
125.92,
9999,
124.3,
14.3
],
"swdir_3": [
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
124.56
],
"mpts_1": [
9999,
9999,
9999,
9999,
3.38,
3.64,
3.49,
3.05,
2.92,
2.84,
2.78,
3.23
],
"mpts_2": [
9999,
9999,
9999,
9999,
9999,
9999,
9999,
3.35,
3.35,
9999,
4.76,
2.65
],
"mpts_3": [
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
9999,
4.74
],
"swh": [
0.81,
0.8,
0.77,
0.7,
0.6,
0.49,
0.38,
0.3,
0.24,
0.21,
0.19,
0.17
],
"shww": [
0.81,
0.8,
0.77,
0.69,
0.59,
0.48,
0.37,
9999,
9999,
0.13,
0.13,
0.09
],
"perpw": [
3.94,
3.92,
3.9,
3.79,
3.54,
3.41,
3.24,
3.07,
2.94,
2.85,
2.79,
2.71
],
"wdir": [
15.3,
18.46,
21.57,
25.61,
32.79,
36.01,
48.56,
95.28,
120.03,
133.21,
134.04,
127.23
],
"ws": [
9.04,
9.33,
8.87,
7.76,
6.82,
5.57,
3.83,
3.09,
3.07,
3.52,
3.39,
2.78
],
"dirpw": [
14.62,
15.4,
16.65,
19.58,
21.46,
20.96,
20,
22.6,
27.42,
33.21,
46.76,
58.97
],
"wvdir": [
15.28,
16.63,
18.39,
20.25,
22.33,
23.84,
24.25,
9999,
9999,
111.82,
115.17,
121.66
],
"mpww": [
3.94,
3.92,
3.9,
3.79,
3.54,
3.4,
3.24,
9999,
9999,
2.9,
3.15,
1.71
]
}
字段 | 含义 | 单位 | 类型 |
---|---|---|---|
shww | 风浪有效波高 | m | 风浪 |
mpww | 风浪平均周期 | s | 风浪 |
wvdir | 风浪传播方向 | ° | 风浪 |
shts_1 | 初级涌浪有效波高 | m | 涌浪 |
shts_2 | 次级涌浪有效波高 | m | 涌浪 |
shts_3 | 三级涌浪有效波高 | m | 涌浪 |
swdir_1 | 初级涌浪传播方向 | ° | 涌浪 |
swdir_2 | 次级涌浪传播方向 | ° | 涌浪 |
swdir_3 | 三级涌浪传播方向 | ° | 涌浪 |
mpts_1 | 初级涌波平均周期 | s | 涌浪 |
mpts_2 | 次级涌波平均周期 | s | 涌浪 |
mpts_3 | 三级涌波平均周期 | s | 涌浪 |
swh | 总海浪有效波高(风浪和涌浪) | m | 海浪 |
perpw | 初级浪平均周期 | s | 海浪 |
dirpw | 初级浪传播方向 | ° | 海浪 |
备注
- 默认值:
9999
表示无数据或无效值。