@azohra/meteo.station 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -17
- package/dist/air.d.ts +4 -7
- package/dist/air.js +1 -2
- package/dist/client/climatology.d.ts +4 -7
- package/dist/client/climatology.js +1 -2
- package/dist/client/history.d.ts +14 -17
- package/dist/client/history.js +1 -2
- package/dist/client/live.d.ts +9 -11
- package/dist/client/live.js +1 -2
- package/dist/client/poll.d.ts +9 -12
- package/dist/client/poll.js +1 -2
- package/dist/client/stores.d.ts +8 -10
- package/dist/client/stores.js +1 -2
- package/dist/client/ticker.d.ts +1 -4
- package/dist/client/ticker.js +1 -2
- package/dist/climatology.d.ts +13 -15
- package/dist/climatology.js +1 -2
- package/dist/connectivity.d.ts +9 -12
- package/dist/connectivity.js +1 -2
- package/dist/contract-climatology.d.ts +11 -14
- package/dist/contract-climatology.js +1 -2
- package/dist/contract.d.ts +148 -151
- package/dist/contract.js +1 -2
- package/dist/derive.d.ts +24 -26
- package/dist/derive.js +5 -6
- package/dist/display.d.ts +6 -9
- package/dist/display.js +1 -2
- package/dist/elements/elements/AirExtremesElement.d.ts +2 -5
- package/dist/elements/elements/AirExtremesElement.js +6 -20
- package/dist/elements/elements/AirMatrixElement.d.ts +2 -5
- package/dist/elements/elements/AirMatrixElement.js +7 -33
- package/dist/elements/elements/ClimatologyDailyPatternElement.d.ts +2 -5
- package/dist/elements/elements/ClimatologyDailyPatternElement.js +18 -14
- package/dist/elements/elements/ClimatologyRoseElement.d.ts +2 -5
- package/dist/elements/elements/ClimatologyRoseElement.js +6 -17
- package/dist/elements/elements/CompassFanElement.d.ts +2 -5
- package/dist/elements/elements/CompassFanElement.js +6 -66
- package/dist/elements/elements/CurrentConditionsElement.d.ts +2 -5
- package/dist/elements/elements/CurrentConditionsElement.js +8 -28
- package/dist/elements/elements/DailyPatternElement.d.ts +2 -6
- package/dist/elements/elements/DailyPatternElement.js +7 -122
- package/dist/elements/elements/DialElement.d.ts +2 -5
- package/dist/elements/elements/DialElement.js +4 -97
- package/dist/elements/elements/FavorableShareElement.d.ts +2 -5
- package/dist/elements/elements/FavorableShareElement.js +7 -23
- package/dist/elements/elements/FreshnessBadgeElement.d.ts +2 -5
- package/dist/elements/elements/FreshnessBadgeElement.js +1 -2
- package/dist/elements/elements/RecentSummariesElement.d.ts +2 -5
- package/dist/elements/elements/RecentSummariesElement.js +7 -25
- package/dist/elements/elements/SparklineElement.d.ts +2 -6
- package/dist/elements/elements/SparklineElement.js +5 -41
- package/dist/elements/elements/StationCardElement.d.ts +6 -8
- package/dist/elements/elements/StationCardElement.js +5 -20
- package/dist/elements/elements/StationFeedElement.d.ts +2 -5
- package/dist/elements/elements/StationFeedElement.js +5 -4
- package/dist/elements/elements/StationStripElement.d.ts +2 -5
- package/dist/elements/elements/StationStripElement.js +5 -20
- package/dist/elements/elements/StationTableElement.d.ts +3 -6
- package/dist/elements/elements/StationTableElement.js +16 -53
- package/dist/elements/elements/TrendChartElement.d.ts +2 -5
- package/dist/elements/elements/TrendChartElement.js +22 -71
- package/dist/elements/elements/WindArrowElement.d.ts +2 -5
- package/dist/elements/elements/WindArrowElement.js +1 -2
- package/dist/elements/elements/WindHistoryChartElement.d.ts +2 -5
- package/dist/elements/elements/WindHistoryChartElement.js +24 -166
- package/dist/elements/elements/WindRoseElement.d.ts +2 -6
- package/dist/elements/elements/WindRoseElement.js +7 -72
- package/dist/elements/elements/atoms.d.ts +10 -12
- package/dist/elements/elements/atoms.js +12 -40
- package/dist/elements/index.d.ts +3 -5
- package/dist/elements/index.js +4 -5
- package/dist/elements/lib/ambient.d.ts +2 -5
- package/dist/elements/lib/ambient.js +1 -2
- package/dist/elements/lib/attributes.js +1 -2
- package/dist/elements/lib/base.d.ts +3 -6
- package/dist/elements/lib/base.js +1 -2
- package/dist/elements/lib/context.js +1 -2
- package/dist/elements/lib/fragments.js +9 -39
- package/dist/elements/lib/h.js +2 -3
- package/dist/elements/lib/pinned-cursor.js +1 -2
- package/dist/elements/lib/render.js +29 -0
- package/dist/elements/register.js +1 -2
- package/dist/endpoints.d.ts +6 -9
- package/dist/endpoints.js +1 -2
- package/dist/fixtures.d.ts +7 -10
- package/dist/fixtures.js +1 -2
- package/dist/format.d.ts +11 -14
- package/dist/format.js +1 -2
- package/dist/geometry.d.ts +36 -38
- package/dist/geometry.js +3 -3
- package/dist/instruments.d.ts +37 -40
- package/dist/instruments.js +3 -4
- package/dist/merge-current.d.ts +4 -7
- package/dist/merge-current.js +1 -2
- package/dist/react/components/AirExtremes.d.ts +2 -5
- package/dist/react/components/AirExtremes.js +6 -24
- package/dist/react/components/AirMatrix.d.ts +2 -5
- package/dist/react/components/AirMatrix.js +11 -45
- package/dist/react/components/ClimatologyDailyPattern.d.ts +2 -5
- package/dist/react/components/ClimatologyDailyPattern.js +20 -15
- package/dist/react/components/ClimatologyRose.d.ts +2 -5
- package/dist/react/components/ClimatologyRose.js +12 -30
- package/dist/react/components/CompassFan.d.ts +2 -5
- package/dist/react/components/CompassFan.js +7 -75
- package/dist/react/components/CurrentConditions.d.ts +2 -5
- package/dist/react/components/CurrentConditions.js +12 -76
- package/dist/react/components/DailyPattern.d.ts +3 -8
- package/dist/react/components/DailyPattern.js +11 -151
- package/dist/react/components/Dial.d.ts +2 -5
- package/dist/react/components/Dial.js +6 -120
- package/dist/react/components/FavorableShare.d.ts +2 -5
- package/dist/react/components/FavorableShare.js +7 -29
- package/dist/react/components/FreshnessBadge.d.ts +2 -5
- package/dist/react/components/FreshnessBadge.js +6 -14
- package/dist/react/components/Readout.d.ts +2 -5
- package/dist/react/components/Readout.js +1 -2
- package/dist/react/components/RecentSummaries.d.ts +2 -5
- package/dist/react/components/RecentSummaries.js +7 -46
- package/dist/react/components/SceneTree.js +37 -0
- package/dist/react/components/Sparkline.d.ts +2 -5
- package/dist/react/components/Sparkline.js +4 -41
- package/dist/react/components/StationCard.d.ts +8 -10
- package/dist/react/components/StationCard.js +6 -47
- package/dist/react/components/StationFeedProvider.d.ts +3 -6
- package/dist/react/components/StationFeedProvider.js +1 -2
- package/dist/react/components/StationStrip.d.ts +2 -5
- package/dist/react/components/StationStrip.js +6 -62
- package/dist/react/components/StationTable.d.ts +3 -6
- package/dist/react/components/StationTable.js +22 -77
- package/dist/react/components/TrendChart.d.ts +2 -5
- package/dist/react/components/TrendChart.js +9 -65
- package/dist/react/components/WindArrow.d.ts +2 -5
- package/dist/react/components/WindArrow.js +4 -17
- package/dist/react/components/WindHistoryChart.d.ts +2 -5
- package/dist/react/components/WindHistoryChart.js +9 -184
- package/dist/react/components/WindRose.d.ts +2 -7
- package/dist/react/components/WindRose.js +7 -91
- package/dist/react/components/WindSampleStrip.d.ts +2 -5
- package/dist/react/components/WindSampleStrip.js +9 -117
- package/dist/react/components/atoms.d.ts +12 -14
- package/dist/react/components/atoms.js +13 -50
- package/dist/react/hooks/useFreshness.d.ts +1 -4
- package/dist/react/hooks/useFreshness.js +1 -2
- package/dist/react/hooks/useMeasuredChartWidth.d.ts +2 -5
- package/dist/react/hooks/useMeasuredChartWidth.js +1 -2
- package/dist/react/hooks/usePolledJson.js +1 -2
- package/dist/react/hooks/useStation.d.ts +2 -5
- package/dist/react/hooks/useStation.js +1 -2
- package/dist/react/hooks/useStationClimatology.d.ts +2 -5
- package/dist/react/hooks/useStationClimatology.js +1 -2
- package/dist/react/hooks/useStationCurrent.d.ts +2 -5
- package/dist/react/hooks/useStationCurrent.js +4 -4
- package/dist/react/hooks/useStationFeed.d.ts +2 -5
- package/dist/react/hooks/useStationFeed.js +4 -4
- package/dist/react/hooks/useStationLive.d.ts +2 -5
- package/dist/react/hooks/useStationLive.js +1 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +5 -5
- package/dist/react/lib/cells.js +5 -26
- package/dist/react/lib/use-pinned-cursor.js +1 -2
- package/dist/samples.d.ts +8 -11
- package/dist/samples.js +1 -2
- package/dist/scene/air-extremes.js +13 -29
- package/dist/scene/air-matrix.js +46 -60
- package/dist/scene/atoms.js +1 -2
- package/dist/scene/card.js +15 -42
- package/dist/scene/cells.d.ts +4 -0
- package/dist/scene/cells.js +50 -0
- package/dist/scene/chart.d.ts +2 -5
- package/dist/scene/chart.js +3 -3
- package/dist/scene/climatology-pattern.d.ts +1 -2
- package/dist/scene/climatology-pattern.js +11 -13
- package/dist/scene/climatology-rose.d.ts +1 -2
- package/dist/scene/climatology-rose.js +15 -35
- package/dist/scene/compass-fan.js +29 -102
- package/dist/scene/current.d.ts +2 -1
- package/dist/scene/current.js +30 -58
- package/dist/scene/daily-pattern.d.ts +1 -3
- package/dist/scene/daily-pattern.js +21 -29
- package/dist/scene/dial-parts.d.ts +1 -0
- package/dist/scene/dial-parts.js +69 -0
- package/dist/scene/dial.d.ts +1 -2
- package/dist/scene/dial.js +49 -138
- package/dist/scene/favorable-share.js +17 -35
- package/dist/scene/glyphs.js +21 -18
- package/dist/scene/index.d.ts +5 -3
- package/dist/scene/node.js +18 -0
- package/dist/scene/recent-summaries.js +27 -65
- package/dist/scene/rose.js +90 -119
- package/dist/scene/sample-strip.d.ts +1 -2
- package/dist/scene/sample-strip.js +36 -38
- package/dist/scene/sparkline.js +32 -42
- package/dist/scene/strip.js +19 -59
- package/dist/scene/table.js +48 -71
- package/dist/scene/trend.d.ts +1 -2
- package/dist/scene/trend.js +30 -57
- package/dist/scene/wind-history.d.ts +1 -2
- package/dist/scene/wind-history.js +42 -53
- package/dist/scene/wind-plot.js +71 -142
- package/dist/server/adapter.d.ts +7 -10
- package/dist/server/adapter.js +1 -2
- package/dist/server/adapters/campbell.d.ts +18 -20
- package/dist/server/adapters/campbell.js +2 -3
- package/dist/server/adapters/ecowitt.d.ts +12 -15
- package/dist/server/adapters/ecowitt.js +1 -2
- package/dist/server/adapters/tempest.d.ts +10 -13
- package/dist/server/adapters/tempest.js +1 -2
- package/dist/server/adapters/windnerd-climatology.d.ts +5 -8
- package/dist/server/adapters/windnerd-climatology.js +5 -5
- package/dist/server/adapters/windnerd-live.d.ts +2 -5
- package/dist/server/adapters/windnerd-live.js +4 -4
- package/dist/server/adapters/windnerd.d.ts +30 -33
- package/dist/server/adapters/windnerd.js +2 -3
- package/dist/server/config.d.ts +61 -63
- package/dist/server/config.js +1 -2
- package/dist/server/environment.d.ts +20 -22
- package/dist/server/environment.js +1 -2
- package/dist/server/feed.d.ts +19 -21
- package/dist/server/feed.js +1 -2
- package/dist/server/handler.d.ts +4 -7
- package/dist/server/handler.js +1 -2
- package/dist/server/hologram.d.ts +9 -12
- package/dist/server/hologram.js +3 -3
- package/dist/server/live.d.ts +2 -5
- package/dist/server/live.js +1 -2
- package/dist/sse.js +1 -2
- package/dist/strings.d.ts +8 -11
- package/dist/strings.js +1 -2
- package/dist/windnerd.d.ts +4 -7
- package/dist/windnerd.js +1 -2
- package/package.json +12 -17
- package/schema/README.md +1 -1
- package/schema/stationclimatology.schema.json +64 -61
- package/schema/stationcurrent.schema.json +68 -156
- package/schema/stationfeed.schema.json +71 -163
- package/schema/stationhistory.schema.json +37 -46
- package/schema/stationlive.schema.json +221 -306
|
@@ -3,167 +3,170 @@
|
|
|
3
3
|
"$id": "https://meteo.azohra.com/schema/stationlive.schema.json",
|
|
4
4
|
"title": "StationLiveFrame",
|
|
5
5
|
"description": "One frame per SSE data event on the /live stream. init seeds a full station document; samples and reading update it; unavailable is terminal — the stream closes after it.",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
"type": "
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"const": 2
|
|
17
|
-
},
|
|
18
|
-
"servedAt": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"format": "date-time"
|
|
21
|
-
},
|
|
22
|
-
"station": {
|
|
23
|
-
"$ref": "#/$defs/Station"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"required": [
|
|
27
|
-
"type",
|
|
28
|
-
"schemaVersion",
|
|
29
|
-
"servedAt",
|
|
30
|
-
"station"
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"type": "object",
|
|
35
|
-
"properties": {
|
|
36
|
-
"type": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"const": "samples"
|
|
39
|
-
},
|
|
40
|
-
"stationId": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"minLength": 1
|
|
43
|
-
},
|
|
44
|
-
"samples": {
|
|
45
|
-
"$ref": "#/$defs/LiveSamples"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"required": [
|
|
49
|
-
"type",
|
|
50
|
-
"stationId",
|
|
51
|
-
"samples"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"type": "object",
|
|
56
|
-
"properties": {
|
|
57
|
-
"type": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"const": "reading"
|
|
60
|
-
},
|
|
61
|
-
"stationId": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"minLength": 1
|
|
64
|
-
},
|
|
65
|
-
"servedAt": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"format": "date-time"
|
|
68
|
-
},
|
|
69
|
-
"reading": {
|
|
70
|
-
"$ref": "#/$defs/Reading"
|
|
71
|
-
},
|
|
72
|
-
"telemetry": {
|
|
73
|
-
"anyOf": [
|
|
74
|
-
{
|
|
75
|
-
"$ref": "#/$defs/StationTelemetry"
|
|
6
|
+
"$ref": "#/$defs/StationLiveFrame",
|
|
7
|
+
"$defs": {
|
|
8
|
+
"StationLiveFrame": {
|
|
9
|
+
"oneOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"type": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "init"
|
|
76
16
|
},
|
|
77
|
-
{
|
|
78
|
-
"type": "
|
|
17
|
+
"schemaVersion": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"const": 2
|
|
20
|
+
},
|
|
21
|
+
"servedAt": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "date-time"
|
|
24
|
+
},
|
|
25
|
+
"station": {
|
|
26
|
+
"$ref": "#/$defs/Station"
|
|
79
27
|
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"type",
|
|
31
|
+
"schemaVersion",
|
|
32
|
+
"servedAt",
|
|
33
|
+
"station"
|
|
80
34
|
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"required": [
|
|
84
|
-
"type",
|
|
85
|
-
"stationId",
|
|
86
|
-
"servedAt",
|
|
87
|
-
"reading",
|
|
88
|
-
"telemetry"
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"type": "object",
|
|
93
|
-
"properties": {
|
|
94
|
-
"type": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"const": "summaries"
|
|
97
35
|
},
|
|
98
|
-
|
|
99
|
-
"type": "
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
36
|
+
{
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"type": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"const": "samples"
|
|
42
|
+
},
|
|
43
|
+
"stationId": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1
|
|
46
|
+
},
|
|
47
|
+
"samples": {
|
|
48
|
+
"$ref": "#/$defs/LiveSamples"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": [
|
|
52
|
+
"type",
|
|
53
|
+
"stationId",
|
|
54
|
+
"samples"
|
|
55
|
+
]
|
|
105
56
|
},
|
|
106
|
-
|
|
107
|
-
"type": "
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
57
|
+
{
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"type": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"const": "reading"
|
|
63
|
+
},
|
|
64
|
+
"stationId": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1
|
|
67
|
+
},
|
|
68
|
+
"servedAt": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"format": "date-time"
|
|
71
|
+
},
|
|
72
|
+
"reading": {
|
|
73
|
+
"$ref": "#/$defs/Reading"
|
|
74
|
+
},
|
|
75
|
+
"telemetry": {
|
|
76
|
+
"anyOf": [
|
|
77
|
+
{
|
|
78
|
+
"$ref": "#/$defs/StationTelemetry"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "null"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"type",
|
|
88
|
+
"stationId",
|
|
89
|
+
"servedAt",
|
|
90
|
+
"reading",
|
|
91
|
+
"telemetry"
|
|
92
|
+
]
|
|
126
93
|
},
|
|
127
|
-
|
|
128
|
-
"type": "
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
94
|
+
{
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"type": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"const": "summaries"
|
|
100
|
+
},
|
|
101
|
+
"stationId": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"minLength": 1
|
|
104
|
+
},
|
|
105
|
+
"servedAt": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"format": "date-time"
|
|
108
|
+
},
|
|
109
|
+
"summaries": {
|
|
110
|
+
"type": "array",
|
|
111
|
+
"items": {
|
|
112
|
+
"$ref": "#/$defs/RecentSummary"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"type",
|
|
118
|
+
"stationId",
|
|
119
|
+
"servedAt",
|
|
120
|
+
"summaries"
|
|
121
|
+
]
|
|
143
122
|
},
|
|
144
|
-
|
|
145
|
-
"type": "
|
|
146
|
-
"
|
|
123
|
+
{
|
|
124
|
+
"type": "object",
|
|
125
|
+
"properties": {
|
|
126
|
+
"type": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"const": "ping"
|
|
129
|
+
},
|
|
130
|
+
"servedAt": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"format": "date-time"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"required": [
|
|
136
|
+
"type",
|
|
137
|
+
"servedAt"
|
|
138
|
+
]
|
|
147
139
|
},
|
|
148
|
-
|
|
149
|
-
"type": "
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
"
|
|
140
|
+
{
|
|
141
|
+
"type": "object",
|
|
142
|
+
"properties": {
|
|
143
|
+
"type": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"const": "unavailable"
|
|
146
|
+
},
|
|
147
|
+
"stationId": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"minLength": 1
|
|
150
|
+
},
|
|
151
|
+
"reason": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"enum": [
|
|
154
|
+
"upstream_error",
|
|
155
|
+
"timeout",
|
|
156
|
+
"rate_limited",
|
|
157
|
+
"contract_break",
|
|
158
|
+
"not_configured"
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"type",
|
|
164
|
+
"stationId",
|
|
165
|
+
"reason"
|
|
156
166
|
]
|
|
157
167
|
}
|
|
158
|
-
},
|
|
159
|
-
"required": [
|
|
160
|
-
"type",
|
|
161
|
-
"stationId",
|
|
162
|
-
"reason"
|
|
163
168
|
]
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
"$defs": {
|
|
169
|
+
},
|
|
167
170
|
"Station": {
|
|
168
171
|
"oneOf": [
|
|
169
172
|
{
|
|
@@ -181,13 +184,9 @@
|
|
|
181
184
|
"type": "string"
|
|
182
185
|
},
|
|
183
186
|
"pageUrl": {
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"type": "null"
|
|
190
|
-
}
|
|
187
|
+
"type": [
|
|
188
|
+
"string",
|
|
189
|
+
"null"
|
|
191
190
|
]
|
|
192
191
|
},
|
|
193
192
|
"latitude": {
|
|
@@ -226,13 +225,9 @@
|
|
|
226
225
|
]
|
|
227
226
|
},
|
|
228
227
|
"elevationM": {
|
|
229
|
-
"
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"type": "null"
|
|
235
|
-
}
|
|
228
|
+
"type": [
|
|
229
|
+
"number",
|
|
230
|
+
"null"
|
|
236
231
|
]
|
|
237
232
|
},
|
|
238
233
|
"declaredFavorableDirections": {
|
|
@@ -361,13 +356,9 @@
|
|
|
361
356
|
"type": "string"
|
|
362
357
|
},
|
|
363
358
|
"pageUrl": {
|
|
364
|
-
"
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
"type": "null"
|
|
370
|
-
}
|
|
359
|
+
"type": [
|
|
360
|
+
"string",
|
|
361
|
+
"null"
|
|
371
362
|
]
|
|
372
363
|
},
|
|
373
364
|
"latitude": {
|
|
@@ -406,13 +397,9 @@
|
|
|
406
397
|
]
|
|
407
398
|
},
|
|
408
399
|
"elevationM": {
|
|
409
|
-
"
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"type": "null"
|
|
415
|
-
}
|
|
400
|
+
"type": [
|
|
401
|
+
"number",
|
|
402
|
+
"null"
|
|
416
403
|
]
|
|
417
404
|
},
|
|
418
405
|
"declaredFavorableDirections": {
|
|
@@ -534,35 +521,23 @@
|
|
|
534
521
|
},
|
|
535
522
|
"live": {
|
|
536
523
|
"description": "The station has a live sample stream; absent or null reads as false.",
|
|
537
|
-
"
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"type": "null"
|
|
543
|
-
}
|
|
524
|
+
"type": [
|
|
525
|
+
"boolean",
|
|
526
|
+
"null"
|
|
544
527
|
]
|
|
545
528
|
},
|
|
546
529
|
"battery": {
|
|
547
530
|
"description": "The station reports battery telemetry; absent or null reads as false.",
|
|
548
|
-
"
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"type": "null"
|
|
554
|
-
}
|
|
531
|
+
"type": [
|
|
532
|
+
"boolean",
|
|
533
|
+
"null"
|
|
555
534
|
]
|
|
556
535
|
},
|
|
557
536
|
"recentSummaries": {
|
|
558
537
|
"description": "The source maintains pre-digested rolling step summaries; absent or null reads as false.",
|
|
559
|
-
"
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"type": "null"
|
|
565
|
-
}
|
|
538
|
+
"type": [
|
|
539
|
+
"boolean",
|
|
540
|
+
"null"
|
|
566
541
|
]
|
|
567
542
|
}
|
|
568
543
|
},
|
|
@@ -624,23 +599,15 @@
|
|
|
624
599
|
"description": "Minimum m/s within the sampling window; null ≠ zero."
|
|
625
600
|
},
|
|
626
601
|
"temperatureC": {
|
|
627
|
-
"
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"type": "null"
|
|
633
|
-
}
|
|
602
|
+
"type": [
|
|
603
|
+
"number",
|
|
604
|
+
"null"
|
|
634
605
|
]
|
|
635
606
|
},
|
|
636
607
|
"windChillC": {
|
|
637
|
-
"
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"type": "null"
|
|
643
|
-
}
|
|
608
|
+
"type": [
|
|
609
|
+
"number",
|
|
610
|
+
"null"
|
|
644
611
|
]
|
|
645
612
|
},
|
|
646
613
|
"conditions": {
|
|
@@ -669,13 +636,9 @@
|
|
|
669
636
|
"type": "object",
|
|
670
637
|
"properties": {
|
|
671
638
|
"dewPointC": {
|
|
672
|
-
"
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
"type": "null"
|
|
678
|
-
}
|
|
639
|
+
"type": [
|
|
640
|
+
"number",
|
|
641
|
+
"null"
|
|
679
642
|
]
|
|
680
643
|
},
|
|
681
644
|
"lastLightningStrikeAt": {
|
|
@@ -690,53 +653,33 @@
|
|
|
690
653
|
]
|
|
691
654
|
},
|
|
692
655
|
"lastLightningStrikeDistanceKm": {
|
|
693
|
-
"
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
"type": "null"
|
|
699
|
-
}
|
|
656
|
+
"type": [
|
|
657
|
+
"number",
|
|
658
|
+
"null"
|
|
700
659
|
]
|
|
701
660
|
},
|
|
702
661
|
"lightningStrikeCountLastHour": {
|
|
703
|
-
"
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"type": "null"
|
|
709
|
-
}
|
|
662
|
+
"type": [
|
|
663
|
+
"number",
|
|
664
|
+
"null"
|
|
710
665
|
]
|
|
711
666
|
},
|
|
712
667
|
"precipitationMinutesToday": {
|
|
713
|
-
"
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
"type": "null"
|
|
719
|
-
}
|
|
668
|
+
"type": [
|
|
669
|
+
"number",
|
|
670
|
+
"null"
|
|
720
671
|
]
|
|
721
672
|
},
|
|
722
673
|
"precipitationRateMmPerHour": {
|
|
723
|
-
"
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
"type": "null"
|
|
729
|
-
}
|
|
674
|
+
"type": [
|
|
675
|
+
"number",
|
|
676
|
+
"null"
|
|
730
677
|
]
|
|
731
678
|
},
|
|
732
679
|
"precipitationTodayMm": {
|
|
733
|
-
"
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"type": "null"
|
|
739
|
-
}
|
|
680
|
+
"type": [
|
|
681
|
+
"number",
|
|
682
|
+
"null"
|
|
740
683
|
]
|
|
741
684
|
},
|
|
742
685
|
"pressureTrend": {
|
|
@@ -756,33 +699,21 @@
|
|
|
756
699
|
]
|
|
757
700
|
},
|
|
758
701
|
"relativeHumidityPercent": {
|
|
759
|
-
"
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
"type": "null"
|
|
765
|
-
}
|
|
702
|
+
"type": [
|
|
703
|
+
"number",
|
|
704
|
+
"null"
|
|
766
705
|
]
|
|
767
706
|
},
|
|
768
707
|
"seaLevelPressureHpa": {
|
|
769
|
-
"
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
"type": "null"
|
|
775
|
-
}
|
|
708
|
+
"type": [
|
|
709
|
+
"number",
|
|
710
|
+
"null"
|
|
776
711
|
]
|
|
777
712
|
},
|
|
778
713
|
"solarRadiationWm2": {
|
|
779
|
-
"
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
"type": "null"
|
|
785
|
-
}
|
|
714
|
+
"type": [
|
|
715
|
+
"number",
|
|
716
|
+
"null"
|
|
786
717
|
]
|
|
787
718
|
},
|
|
788
719
|
"uvIndex": {
|
|
@@ -882,13 +813,9 @@
|
|
|
882
813
|
"description": "Degrees FROM; null exactly when the period was calm (below 0.5 m/s)."
|
|
883
814
|
},
|
|
884
815
|
"temperatureC": {
|
|
885
|
-
"
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
"type": "null"
|
|
891
|
-
}
|
|
816
|
+
"type": [
|
|
817
|
+
"number",
|
|
818
|
+
"null"
|
|
892
819
|
]
|
|
893
820
|
},
|
|
894
821
|
"seaLevelPressureHpa": {
|
|
@@ -915,23 +842,15 @@
|
|
|
915
842
|
]
|
|
916
843
|
},
|
|
917
844
|
"temperatureMinC": {
|
|
918
|
-
"
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
"type": "null"
|
|
924
|
-
}
|
|
845
|
+
"type": [
|
|
846
|
+
"number",
|
|
847
|
+
"null"
|
|
925
848
|
]
|
|
926
849
|
},
|
|
927
850
|
"temperatureMaxC": {
|
|
928
|
-
"
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"type": "null"
|
|
934
|
-
}
|
|
851
|
+
"type": [
|
|
852
|
+
"number",
|
|
853
|
+
"null"
|
|
935
854
|
]
|
|
936
855
|
},
|
|
937
856
|
"seaLevelPressureMinHpa": {
|
|
@@ -970,15 +889,11 @@
|
|
|
970
889
|
"type": "object",
|
|
971
890
|
"properties": {
|
|
972
891
|
"batteryVoltage": {
|
|
973
|
-
"
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
"type": "null"
|
|
979
|
-
}
|
|
980
|
-
],
|
|
981
|
-
"description": "Station supply volts. null means 'not reported here', never a dead battery."
|
|
892
|
+
"description": "Station supply volts. null means 'not reported here', never a dead battery.",
|
|
893
|
+
"type": [
|
|
894
|
+
"number",
|
|
895
|
+
"null"
|
|
896
|
+
]
|
|
982
897
|
}
|
|
983
898
|
},
|
|
984
899
|
"required": [
|