-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path82-VictoriaWQStation.html
227 lines (179 loc) · 7.34 KB
/
82-VictoriaWQStation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<meta charset='UTF-8'>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Station: Victoria WQ Station</title>
</head>
<body onload="init_page()">
<h1>Victoria WQ Station</h1>
<form action="https://waterdata.grandriver.ca/KiWIS/KiWIS?service=kisters&type=queryServices&request=gettimeseriesvalues&datasource=0&format=html&header=true">
<input type="hidden" name="service" value="kisters">
<input type="hidden" name="type" value="queryServices">
<input type="hidden" name="request" value="getTimeSeriesValues">
<input type="hidden" name="datasource" value="0">
<input type="hidden" name="header" value="true">
<input type="hidden" name="format" value="html">
<div class="form-row">
<div class="col-sm-2">
<input type="date" class="form-control gestern" name="from" value="2018-01-01"><br />
</div>
<div class="col-sm-2">
<input type="date" class="form-control heute" name="to" value="2018-01-01"><br />
</div>
<div class="col-sm-2">
<input type="submit" class="form-control" value="Send">
</div>
</div>
<hr />
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-8713042" value="8713042" checked>
<label class="form-check-label" for="id-8713042">
waterflow (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-10136042" value="10136042" >
<label class="form-check-label" for="id-10136042">
height, river stage (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-10333042" value="10333042" >
<label class="form-check-label" for="id-10333042">
temperature, water (01.GRCA.DPU.NRT.SCADA.TW.ADJ)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-10426042" value="10426042" >
<label class="form-check-label" for="id-10426042">
Water conductance (01.GRCA.DPU.NRT.SCADA.WC.ADJ)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11040042" value="11040042" >
<label class="form-check-label" for="id-11040042">
water temperature (01.GRCA.DPU.NRT.SCADA.WT.ADJ)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11585042" value="11585042" >
<label class="form-check-label" for="id-11585042">
Water, pH value (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-12150042" value="12150042" >
<label class="form-check-label" for="id-12150042">
Water, dissolved oxygen (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16479042" value="16479042" >
<label class="form-check-label" for="id-16479042">
temperature, water (02.NRT.ADJ)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16481042" value="16481042" >
<label class="form-check-label" for="id-16481042">
temperature, water (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16482042" value="16482042" >
<label class="form-check-label" for="id-16482042">
temperature, water (08.NRT.PUBLISHED)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16483042" value="16483042" >
<label class="form-check-label" for="id-16483042">
Water conductance (02.NRT.ADJ)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16484042" value="16484042" >
<label class="form-check-label" for="id-16484042">
Water conductance (03.NRT.E)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16485042" value="16485042" >
<label class="form-check-label" for="id-16485042">
Water conductance (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16486042" value="16486042" >
<label class="form-check-label" for="id-16486042">
Water conductance (08.NRT.PUBLISHED)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16493042" value="16493042" >
<label class="form-check-label" for="id-16493042">
Water, dissolved oxygen (08.NRT.PUBLISHED)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16494042" value="16494042" >
<label class="form-check-label" for="id-16494042">
Water, pH value (02.NRT.ADJ)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16496042" value="16496042" >
<label class="form-check-label" for="id-16496042">
Water, pH value (08.NRT.PUBLISHED)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16497042" value="16497042" >
<label class="form-check-label" for="id-16497042">
water temperature (02.NRT.ADJ)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16498042" value="16498042" >
<label class="form-check-label" for="id-16498042">
water temperature (03.NRT.E)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16499042" value="16499042" >
<label class="form-check-label" for="id-16499042">
water temperature (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-16500042" value="16500042" >
<label class="form-check-label" for="id-16500042">
water temperature (08.NRT.PUBLISHED)
</label>
</div>
</div>
</form>
</body>
<script>
function set_date_value(field_class, datum) {
var field = document.querySelector(field_class);
field.value = datum.toISOString().split('T')[0];
}
function init_page() {
var heute, heute_field, gestern, gestern_field;
heute = new Date();
set_date_value('.heute', heute);
// heute_field = document.querySelector('.heute');
// heute_field.value = heute.toISOString().split('T')[0];
gestern = new Date(heute - 86400000);
set_date_value('.gestern', gestern);
// gestern_field = document.querySelector('.gestern');
// gestern_field.value = gestern.toISOString().split('T')[0];
// console.log("heute : "+heute);
// console.log("heute feld: "+ heute_field);
// console.log("gestern: " + gestern);
// console.log("gestern feld: " + gestern_field);
}
</script>
</html>