python_weather/web/data/data.js

734 lines
12 KiB
JavaScript
Raw Normal View History

2024-06-07 12:15:48 +00:00
const Chart1_Data = {
"x": [
"酉阳",
"秀山",
"万盛",
"南川",
"渝北",
"长寿",
"合川"
],
"y": [
1.8,
1.5,
1.2,
0.3,
0.3,
0.2,
0.1
]
}
2024-06-07 13:03:58 +00:00
const RAIN_Data = 5.6
2024-06-07 12:15:48 +00:00
const Chart2_Data = {
"x": [
"7 月",
"8 月",
"9 月",
"10 月",
"11 月",
"12 月",
"1 月",
"2 月",
"3 月",
"4 月",
"5 月",
"6 月"
],
"y1": [
35.31,
35.22,
30.66,
25.25,
19.84,
13.81,
11.41,
15.03,
21.12,
26.97,
28.06,
26.59
],
"y2": [
22.5,
21.97,
18.0,
13.19,
8.53,
4.09,
3.88,
4.59,
7.59,
12.0,
16.56,
19.34
],
"y3": [
28.47,
28.36,
24.1,
18.45,
13.87,
8.69,
7.2,
9.62,
13.48,
18.41,
22.28,
22.97
]
}
const Chart4_Data = {
"x": [
"璧山",
"荣昌",
"梁平",
"永川",
"云阳",
"北碚",
2024-06-07 12:54:53 +00:00
"垫江",
"铜梁",
"奉节",
"潼南",
"沙坪坝",
"开州"
2024-06-07 12:15:48 +00:00
],
"y": [
25.9,
25.2,
25.1,
25.1,
25.1,
24.9,
2024-06-07 12:54:53 +00:00
24.9,
24.9,
24.8,
24.8,
24.7,
24.6
2024-06-07 12:15:48 +00:00
]
}
2024-06-07 13:03:58 +00:00
const TMP_Data = 23.7
2024-06-07 14:11:11 +00:00
const TMP_ALL_DATA = [
{
"name": "奉节区",
"value": 24.8
},
{
"name": "涪陵区",
"value": 23.7
},
{
"name": "黔江区",
"value": 21.7
},
{
"name": "巴南区",
"value": 23.0
},
{
"name": "北碚区",
"value": 24.9
},
{
"name": "长寿区",
"value": 24.0
},
{
"name": "城口区",
"value": 21.8
},
{
"name": "大足区",
"value": 22.7
},
{
"name": "垫江区",
"value": 24.9
},
{
"name": "丰都区",
"value": 23.4
},
{
"name": "合川区",
"value": 23.9
},
{
"name": "江津区",
"value": 23.9
},
{
"name": "开州区",
"value": 24.6
},
{
"name": "梁平区",
"value": 25.1
},
{
"name": "彭水区",
"value": 23.3
},
{
"name": "荣昌区",
"value": 25.2
},
{
"name": "沙坪坝区",
"value": 24.7
},
{
"name": "石柱区",
"value": 22.5
},
{
"name": "铜梁区",
"value": 24.9
},
{
"name": "万盛区",
"value": 22.8
},
{
"name": "万州区",
"value": 23.0
},
{
"name": "巫山区",
"value": 22.7
},
{
"name": "巫溪区",
"value": 24.2
},
{
"name": "武隆区",
"value": 24.1
},
{
"name": "秀山区",
"value": 20.8
},
{
"name": "永川区",
"value": 25.1
},
{
"name": "酉阳区",
"value": 21.7
},
{
"name": "渝北区",
"value": 24.0
},
{
"name": "云阳区",
"value": 25.1
},
{
"name": "忠县区",
"value": 22.0
},
{
"name": "潼南区",
"value": 24.8
},
{
"name": "璧山区",
"value": 25.9
},
{
"name": "綦江区",
"value": 22.6
},
{
"name": "南川区",
"value": 24.4
},
{
"name": "渝中区",
"value": 28.0
},
{
"name": "大渡口区",
"value": 27.0
},
{
"name": "南岸区",
"value": 26.6
},
{
"name": "江北区",
"value": 27.1
},
{
"name": "九龙坡区",
"value": 28.0
},
]
2024-06-07 12:15:48 +00:00
const Chart5_Data = {
"x": [
"秀山",
"忠县",
"大足",
"万州",
"开州",
"酉阳",
2024-06-07 12:54:53 +00:00
"丰都",
"合川",
"石柱",
"奉节",
"綦江",
"云阳"
2024-06-07 12:15:48 +00:00
],
"y": [
94.0,
85.0,
84.0,
81.0,
79.0,
78.0,
2024-06-07 12:54:53 +00:00
77.0,
77.0,
77.0,
76.0,
76.0,
75.0
2024-06-07 12:15:48 +00:00
]
}
const Chart6_Data = [
{
"name": "奉节",
"value": [
2024-06-07 12:54:53 +00:00
[
1,
33.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "黔江",
"value": [
2024-06-07 12:54:53 +00:00
[
2,
33.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "巴南",
"value": [
2024-06-07 12:54:53 +00:00
[
3,
37.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "北碚",
"value": [
2024-06-07 12:54:53 +00:00
[
4,
40.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "城口",
"value": [
2024-06-07 12:54:53 +00:00
[
5,
38.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "大足",
"value": [
2024-06-07 12:54:53 +00:00
[
6,
58.0,
"良"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "合川",
"value": [
2024-06-07 12:54:53 +00:00
[
7,
40.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "江津",
"value": [
2024-06-07 12:54:53 +00:00
[
8,
37.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "开州",
"value": [
2024-06-07 12:54:53 +00:00
[
9,
31.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "荣昌",
"value": [
2024-06-07 12:54:53 +00:00
[
10,
36.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "沙坪坝",
"value": [
2024-06-07 12:54:53 +00:00
[
11,
44.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "铜梁",
"value": [
2024-06-07 12:54:53 +00:00
[
12,
52.0,
"良"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "万盛",
"value": [
2024-06-07 12:54:53 +00:00
[
13,
37.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "巫山",
"value": [
2024-06-07 12:54:53 +00:00
[
14,
33.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "巫溪",
"value": [
2024-06-07 12:54:53 +00:00
[
15,
33.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "秀山",
"value": [
2024-06-07 12:54:53 +00:00
[
16,
8.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "永川",
"value": [
2024-06-07 12:54:53 +00:00
[
17,
38.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "酉阳",
"value": [
2024-06-07 12:54:53 +00:00
[
18,
8.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "渝北",
"value": [
2024-06-07 12:54:53 +00:00
[
19,
38.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "云阳",
"value": [
2024-06-07 12:54:53 +00:00
[
20,
33.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "潼南",
"value": [
2024-06-07 12:54:53 +00:00
[
21,
44.0,
"优"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "璧山",
"value": [
2024-06-07 12:54:53 +00:00
[
22,
52.0,
"良"
]
2024-06-07 12:15:48 +00:00
]
},
{
"name": "綦江",
"value": [
2024-06-07 12:54:53 +00:00
[
23,
53.0,
"良"
]
2024-06-07 12:15:48 +00:00
]
}
]
const Chart31_Data = [
{
"value": 5,
"name": "多云",
"weather": [
"奉节",
"大足",
"荣昌",
"巫山",
"永川"
],
"color": "#06c8ab"
},
{
"value": 28,
"name": "晴",
"weather": [
"涪陵",
"黔江",
"巴南",
"北碚",
"长寿",
"城口",
"垫江",
"丰都",
"合川",
"江津",
"开州",
"梁平",
"彭水",
"沙坪坝",
"石柱",
"铜梁",
"万盛",
"万州",
"巫溪",
"武隆",
"秀山",
"酉阳",
"渝北",
"云阳",
"忠县",
"潼南",
"璧山",
"綦江"
],
"color": "#065aab"
}
]
const Chart32_Data = [
{
"value": 19,
"name": "优",
"degree": [
"奉节",
"黔江",
"巴南",
"北碚",
"城口",
"合川",
"江津",
"开州",
"荣昌",
"沙坪坝",
"万盛",
"巫山",
"巫溪",
"秀山",
"永川",
"酉阳",
"渝北",
"云阳",
"潼南"
],
2024-06-07 12:54:53 +00:00
"color": "#06c8ab"
2024-06-07 12:15:48 +00:00
},
{
"value": 4,
"name": "良",
"degree": [
"大足",
"铜梁",
"璧山",
"綦江"
],
"color": "#066eab"
}
]
const Chart33_Data = [
{
"value": 6,
"name": "3 m/s",
"degree": [
"奉节",
"合川",
"开州",
"铜梁",
"万盛",
"云阳"
],
"detail": [
2.1,
2.3,
2.7,
2.3,
2.1,
2.3
],
2024-06-07 12:54:53 +00:00
"color": "#0656bb"
2024-06-07 12:15:48 +00:00
},
{
"value": 17,
"name": "2 m/s",
"degree": [
"涪陵",
"长寿",
"城口",
"垫江",
"江津",
"梁平",
"荣昌",
"沙坪坝",
"石柱",
"万州",
"巫山",
"秀山",
"永川",
"酉阳",
"渝北",
"璧山",
"綦江"
],
"detail": [
1.5,
2.0,
1.2,
1.4,
1.4,
1.7,
1.2,
1.2,
1.4,
1.8,
1.5,
1.7,
1.5,
1.7,
1.6,
1.5,
1.3
],
"color": "#06c8ab"
},
{
"value": 9,
"name": "1 m/s",
"degree": [
"黔江",
"巴南",
"大足",
"丰都",
"彭水",
"巫溪",
"武隆",
"忠县",
"潼南"
],
"detail": [
1.0,
0.5,
0.8,
1.0,
0.9,
0.6,
0.8,
0.9,
0.7
],
"color": "#0696ab"
},
{
"value": 1,
"name": "4 m/s",
"degree": [
"北碚"
],
"detail": [
3.8
],
2024-06-07 12:54:53 +00:00
"color": "#9796cb"
2024-06-07 12:15:48 +00:00
}
]