-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path179-GuelphLakeDam.html
171 lines (137 loc) · 5.63 KB
/
179-GuelphLakeDam.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
<!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: Guelph Lake Dam</title>
</head>
<body onload="init_page()">
<h1>Guelph Lake Dam</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-11391042" value="11391042" checked>
<label class="form-check-label" for="id-11391042">
height, lake above specific datum (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11626042" value="11626042" >
<label class="form-check-label" for="id-11626042">
height, lake above specific datum (Lower.RuleCurve.RollOut)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11628042" value="11628042" >
<label class="form-check-label" for="id-11628042">
height, lake above specific datum (Upper.RuleCurve.RollOut)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11644042" value="11644042" >
<label class="form-check-label" for="id-11644042">
lake storage (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14148042" value="14148042" >
<label class="form-check-label" for="id-14148042">
discharge, computed total project outflow (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14160042" value="14160042" >
<label class="form-check-label" for="id-14160042">
lake storage (Current.Storage.Percent)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14200042" value="14200042" >
<label class="form-check-label" for="id-14200042">
lake storage (cms.days.7day)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14201042" value="14201042" >
<label class="form-check-label" for="id-14201042">
lake storage (cms.days.full)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14202042" value="14202042" >
<label class="form-check-label" for="id-14202042">
lake storage (cms.days.now)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14203042" value="14203042" >
<label class="form-check-label" for="id-14203042">
lake storage (runoff.full)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14204042" value="14204042" >
<label class="form-check-label" for="id-14204042">
lake storage (slope.uc)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14233042" value="14233042" >
<label class="form-check-label" for="id-14233042">
discharge, inflow (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14245042" value="14245042" >
<label class="form-check-label" for="id-14245042">
lake storage (Upper.RuleCurve.Hourly)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14246042" value="14246042" >
<label class="form-check-label" for="id-14246042">
lake storage (Upper.RuleCurve.Hourly.7day)
</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>