-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
491 lines (468 loc) · 25.1 KB
/
Copy pathindex.html
File metadata and controls
491 lines (468 loc) · 25.1 KB
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Expires" Content="-1">
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>RASP BLIPMAPS voor Nederland, Noord Belgie en Noordwest Duitsland</title>
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<!--
RASPtableGM
paul.scorer01_at_gmail.com
Features:
* Autosize Selectors and Image for display
* Shift-Scroll Wheel adjusts Opacity of Overlay
* Normal Google Maps Controls (Dbl-L-Click, Drag, Scroll Wheel)
* Single L-Click for Forwards within a day
* R-Click or Long-Left-Click (3 sec+) gives InfoWindow @ Location with Value for time or whole day
* Loads image for next time on Day/Param selection
* Soundings indicated by Clickable Markers
* Auto select times for STD / DST
* NB: M$ Windows users must ensure TimeZone and "Adjust clock for Daylight Saving" is set in Control Panel->Date & Time
* Airspace files from http://3dairspace.org.uk/
You can use google-earth to split out airspace classes
RASPtableLeaf
Antoine Megens (antoine.megens_at_gmail.com)
* based on UK version and modified for RASP NL
* Added Animate button and animate speed spinbox
* Removed Archives and SkewT/XBL Plot popup CGI (too complex!)
* Added Dutch, Belgium and German waypoints (airfields and outlanding only to reduce clutter)
* Added Dutch, Belgium and (reduced) German airspace
* Added stylesheets
* Rewrote to use Leaflet Map API instead of Google Map API to avoid costs (~28K free API hits allowed/Month)
* Renamed from RASPtableGM (Google Maps) to RASPViewer (more fitting)
* Added Stammer "toner" and "terrain" layer selection
* Added self hosted Open Street Map street layer (reduced area)
* GUI improvements for mobile devices (side-bar added)
* Added area selection
* Added notiflix notification
* Changed parameter description handling (on request now)
* Added IGC Viewer
* Added Meteograms
-->
<META content="Dr. John W. (Jack) Glendening" name="author">
<META content="Hendrik Hoeth" name="author">
<META content="Michel Hagoort" name="author">
<meta content="David Hofstee" name="author">
<meta content="Antoine Megens" name="author">
<META content="RASP, BLIPMAP, BLIPMAPS, Wetter, Segelflugwetter, Segelflugwetterbericht, Segelflug, weather forecast, Flugwetter, Wettervorhersage, Wetterbericht, Segelflugwettervorhersage, soaring, weer, weersvoorspelling, zweefvliegweer, vliegweer, weerbericht, zweefvliegen" name="keywords">
<META content='Zweefvlieg weersvoorspelling voor Nederland, Noord Belgie en Noordwest Duitsland' name="description">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<script type= "text/javascript">
// CHANGE THESE FOR YOUR SITE
var Server = "https://blipmaps.nl/NETHERLANDS/";
var SAVE_DAYS = 5; // Number of days of saved wrfout files (inc Today!)
// MUST aggree with LSAVE_DAYS in rasp.run.parameters.REGIONXYZ
// Put your times below for January under "STD" and for the "other" time standard under "DST"
// These are probably the wrong way round for the Southern Hemisphere :-)
var tzArray = ["STD", "DST"];
tzArray["STD"] = ["0830", "0900", "0930", "1000", "1030", "1100", "1130", "1200", "1230", "1300", "1330", "1400", "1430", "1500", "1530", "1600", "1630", "1700", "1730", "1800", "1830", "1900" ];
tzArray["DST"] = ["0930", "1000", "1030", "1100", "1130", "1200", "1230", "1300", "1330", "1400", "1430", "1500", "1530", "1600", "1630", "1700", "1730", "1800", "1830", "1900", "1930", "2000" ];
// Placeholder - I don't have windowed runs
// var w2times = ["0900", "1000", "1100", "1200", "1300", "1400", "1500", "1600", "1700", "1800"];
/* Change the size of the Plot Title
* Maximum recommended value is 1.95
* Minimum is 0 (No Title)
*/
var TitleScale = 1.0; // Default
</script>
<link rel="stylesheet" href="css/stylesheet.css">
<link rel="stylesheet" href="css/leaflet.css">
<link rel="stylesheet" href="css/leaflet.awesome-markers.css" />
<link rel="stylesheet" href="css/Control.Opacity.css" />
<link rel="stylesheet" href="css/easy-button.css" />
<link rel="stylesheet" href="css/all.min.css">
<link rel="stylesheet" href="css/leaflet-sidebar.css" />
<link rel="stylesheet" href="../css/notiflix-1.9.1.min.css" />
<!-- link rel="stylesheet" href="css/jquery-ui-1.10.3.custom.min.css" / -->
<!-- BUT *DON'T* CHANGE THESE UNLESS YOU KNOW WHAT YOU'RE DOING :-) -->
<!-- NOTE: Order is important here! -->
<script type="text/javascript" src="js/moment.min.js"></script>
<script type="text/javascript" src="js/moment-timezone-with-data.min.js"></script>
<script type="text/javascript" src="js/jquery-3.4.0.min.js"></script>
<script type="text/javascript" src="js/leaflet.js"></script>
<script type="text/javascript" src="js/leaflet.awesome-markers.min.js"></script>
<!-- IGC Viewer -->
<script type="text/javascript" src="js/parseigc.js"></script>
<script type="text/javascript" src="js/igcviewer.js"></script>
<!-- Bring in the leaflet KML plugin, obsolete with openaip airspace -->
<!-- script type="text/javascript" src="js/leaflet-plugins/KML.js"></script> -->
<script type="text/javascript" src="js/leaflet-plugins/easy-button.js"></script>
<script type="text/javascript" src="js/leaflet-plugins/leaflet-sidebar.js"></script>
<script>document.write("<script type='text/javascript' src='js/paramList.js?v=" + Date.now() + "'><\/script>");</script>
<script type="text/javascript" src="js/corners_leaflet.js"></script>
<script>document.write("<script type='text/javascript' src='js/soundings_leaflet.js?v=" + Date.now() + "'><\/script>");</script>
<script>document.write("<script type='text/javascript' src='js/meteograms.js?v=" + Date.now() + "'><\/script>");</script>
<script type="text/javascript" src="js/TurnPts.js"></script>
<script type="text/javascript" src="../js/areas.js"></script>
<!-- http://bluebirdjs.com/docs/getting-started.html -->
<script type="text/javascript" src="js/bluebird.min.js"></script>
<!-- https://sindresorhus.com/screenfull.js/ -->
<script type="text/javascript" src="js/screenfull.min.js"></script>
<script>document.write("<script type='text/javascript' src='js/RASPtableLeafNew.js?v=" + Date.now() + "'><\/script>");</script>
<script type="text/javascript" src="js/ExtDraggableObjectLeaf.js"></script>
<script type="text/javascript" src="js/SpinBox.js"></script>
<script type="text/javascript" src="js/Control.Opacity.js"></script>
<script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script>
<script type='text/javascript' src="../js/notiflix-1.9.1.min.js"></script>
<script>document.write("<script type='text/javascript' src='../js/notificatie.js?v=" + Date.now() + "'><\/script>");</script>
</head>
<body>
<noscript>
<h1 align="center"><font color=red>This page requires JavaScript to be enabled</font></h1>
</noscript>
<!-- side-bar begin -->
<div id="sidebar" class="sidebar collapsed">
<!-- Nav tabs -->
<div class="sidebar-tabs">
<ul role="tablist">
<li><a href="#home" role="tab"><i class="fa fa-bars fa-lg"></i></a></li>
<li><a href="#task" role="tab"><i class="fa fa-map-marked-alt fa-lg"></i></a></li>
<li><a href="#areas" role="tab"><i class="fa fa-clone fa-lg"></i></a></li>
<li><a href="#supportus" role="tab"><i class="fa fa-heart fa-lg"></i></a></li>
<li><a href="#igc" role="tab"><i class="fa fa-eye fa-lg"></i></a></li>
<li><a href="#help" role="tab"><i class="fa fa-question-circle fa-lg"></i></a></li>
</ul>
<ul role="tablist">
<li><a href="#disclaimer" role="tab"><i class="fa fa-comment fa-lg"></i></a></li>
<li><a href="#link" role="tab"><i class="fa fa-link fa-lg"></i></a></li>
</ul>
</div>
<!-- Tab panes -->
<div class="sidebar-content">
<div class="sidebar-pane" id="disclaimer">
<h1 class="sidebar-header">Disclaimer<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<div class="disclaimer">
<p>Last updated: April 27, 2019</p>
<p>The information contained on <a href="https://www.blipmaps.nl/" target="_blank">https://www.blipmaps.nl/</a> website (the "Service") is for general information purposes only.</p>
<p>The Dutch RASP team assumes no responsibility for errors or omissions in the contents on the Service.</p>
<p>In no event shall <b>RASP BLIPMAPS voor Nederland, Noord Belgie en Noordwest Duitsland</b> be liable
for any special, direct, indirect, consequential, or incidental damages or any damages whatsoever,
whether in an action of contract, negligence or other tort, arising out of or in connection with
the use of the Service or the contents of the Service. RASP BLIPMAPS voor Nederland, Noord Belgie en Noordwest Duitsland
reserves the right to make additions, deletions, or modification to the contents on the Service at any time without prior notice.
</p>
<p>RASP BLIPMAPS voor Nederland, Noord Belgie en Noordwest Duitsland does not warrant that the website is free of viruses or other harmful components.</p>
<br>
<p>Email: rasp (at) blipmaps.nl</p>
</div>
</div>
<div class="sidebar-pane" id="areas">
<h1 class="sidebar-header">Areas<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<div style="align:center; width:290px;">
<br>
<br>
<table width="100%">
<script type="text/javascript">createAreaLinks();</script>
</table>
</div>
</div>
<div class="sidebar-pane" id="help">
<h1 class="sidebar-header">Help<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<div style="align:center; width:290px;">
<table width="100%">
<tr>
<td><br>
<div align="center">
<a class="myButton" title="User Guide" onClick="return popup(Server+'RASPtableIntro.html', 'User Guide', 550, 470)">User Guide</a>
</div>
</td>
</tr><tr>
<td>
<br>
<div align="center">
<a class="myButton" title="Disclaimer" onClick="return popup('Disclaimer.html', 'Disclaimer', 550, 370)">Disclaimer</a>
</div>
</td>
</tr><tr>
<td>
<div align="center"><p>Email: rasp (at) blipmaps.nl</p></div>
</td>
</tr><tr>
<td>
<br>
<div contenteditable="false" id="helpNotification" style="width: 270px; border: 1px solid #ccc; padding: 5px; visibility: hidden;">
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="sidebar-pane" id="supportus">
<h1 class="sidebar-header">Support<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<p class="sidebarhelp">Please <strong>support</strong> this website:</p>
<div id="Coffee" title="Buy a Coffee for RASP blipmaps.nl">
<script type='text/javascript'>kofiwidget2.init('Support Me on Ko-fi', '#46b798', 'N4N2VIMO');kofiwidget2.draw();</script>
</div>
<div>
<!-- sponsored by KNVvL -->
<br><br>
<p>The Dutch RASP team is<br>proudly sponsored by:</p>
<a href="https://knvvl.nl/zweefvliegen" target="_blank"><img src="../images/knvvl/logo_big.png" style="width:200px; height:113px;" title="Sponsored by KNVvL"></a>
</div>
<p>Email: rasp (at) blipmaps.nl</p>
</div>
<div class="sidebar-pane" id="link">
<h1 class="sidebar-header">Page Link<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<p class="sidebarhelp">To copy the <strong>Page URL</strong>, Right-Click on “Page URL” and select “Copy Link Location” (the exact words differ between browsers). You can then paste this into an email, or whatever.</p>
<table>
<tr><td>
<div id="Url" align="center" title="URL of this exact Page">
<!-- Filled in by javascript -->
</div>
</td></tr>
</table>
</div>
<div class="sidebar-pane" id="task">
<h1 class="sidebar-header">Simple Task Planner<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<p class="sidebarhelp" style="font-size:small">
The <strong>Specify Task</strong> button can be used as a simple task planner. Turnpoints will be added as markers on the map.
Placing the mouse on a turnpoint will give you the turnpoint name, Left Click to add it to the task.
Use <strong>Clear Task</strong> to remove the drawn task and <strong>Remove Waypoints</strong> to remove the turnpoint markers.
</p>
<div style="align:center; width:290px;">
<table width="100%">
<tr><td>
<div align="center" id="specifyTaskRow">
<a class="myButton" onclick="addTPMarkers();"> Specify Task </a>
</div>
</td></tr>
<tr><td>
<div align="center" id="clearTaskRow">
<a class="myButton" onclick="clearTask();"> Clear Task </a>
</div>
</td></tr>
<tr><td>
<div align="center" id="removeMarkersRow">
<a class="myButton" onclick="rmTPMarkers();"> Remove Waypoints </a>
</div>
</td></tr>
</table>
</div>
</div>
<div class="sidebar-pane" id="home">
<h1 class="sidebar-header">
RASPViewer Settings
<span class="sidebar-close"><i class="fa fa-caret-left"></i></span>
</h1>
<table width="100%">
<tbody>
<tr>
<td class="gmnoprint" valign="top">
<div id="selectorDiv" width="150px">
<table id="selectors" class="selectorsTable">
<tbody>
<tr>
<td> <!-- Day -->
<select title="Select Day" id="Day" size="12" autofocus>
<option>Wednesday 18 Jun</option> <!-- filled by script -->
</select>
</td>
<td> <!-- Time -->
<select title="Select Time" id="Time" style="width: 70px;">
<option>0700</option> <!-- filled by script -->
</select>
</td>
</tr>
<tr>
<td colspan=2 align="center">
<form id="popup" action="">
<div class="tooltip"><b>Info Popup:</b>
<span class="tooltiptext">Right click<br/>Popup Type</span>
</div><br>
<input type="radio" name="info" checked value="Value">Value
<input type="radio" name="info" value="Day">Day
<!-- input type="radio" name="info" value="XBL">XBL Plot -->
</form>
</td>
</tr>
<tr>
<td colspan=2 align="center">
<a class="myButton" title="Switch between Full and Reduced parameter sets" id="paramSet">Press for Full Parameter Set</a>
</td>
</tr>
<tr>
<td colspan=2 id="paramSelector"> <!-- Parameter -->
<select title="Select Parameter" id="Param" size="10" style="width: 100%;">
<optgroup class="paramoptions">
<option style="color: red;" value="nope1">- - - THERMAL PARAMETERS - - -</option>
<!-- Filled in by script from paramList.js -->
</optgroup>
</select>
</td>
</tr>
<tr></tr>
<tr>
<td title="Animate" nowrap colspan=2 align="center">
<div id="animateRow">
<a id="animateButton" class="myButton" onClick="animateTimer();">Start Animation</a>
</div>
</td>
</tr>
<tr>
<td nowrap colspan=2 align="center">
<div id="animationDelayRow">
<table>
<tr>
<td>
<div class="tooltip"><b>Delay:</b>
<span class="tooltiptext">Animation Delay<br/>in ms</span>
</div>
<span id="animateDelay"><input id='animateDelayInput'></span><span> ms</span>
</td>
</tr>
</table>
</div>
</td>
</tr>
<!-- old KLM based airspace tr>
<td colspan=2 align="center" nowrap style="font-size: 12px;">
<div id="airspaceForm">
<form id="airspace" action="" title="Show/hide airspace classes">
AirSpace
<input onClick="doAirspace();" name="air" type="checkbox" value="A">A
<input onClick="doAirspace();" name="air" type="checkbox" value="B">B
<input onClick="doAirspace();" name="air" type="checkbox" value="C">C
<input onClick="doAirspace();" name="air" type="checkbox" value="D">D
<input onClick="doAirspace();" name="air" type="checkbox" value="E">E
<input onClick="doAirspace();" name="air" type="checkbox" value="X">X
</form>
</div>
</td>
</tr -->
</tbody>
</table>
</div> <!-- End selectors div -->
</td> <!-- End Selection Boxes -->
</tr>
</table>
</div> <!-- home tab -->
<div class="sidebar-pane" id="igc">
<h1 class="sidebar-header">IGC Viewer<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<div style="align:center; width:290px;">
<p style="font-size:small">
A tool for viewing GPS tracks from gliding loggers.<br>
The file must be in the
International Gliding Commission (IGC) format.
</p>
<p style="font-size:small">
© 2015-2016 Alistair Malcolm Green and Richard Brisbourne</p>
<label for="fileControl">Select a file to view:</label>
<input id="fileControl" type="file" />
<br><br>
<a class="myButton" onclick="clearIGC();">Clear IGC</a>
<p style="font-size:small">
<em>Note:</em> The file will be processed entirely within your web browser. Nothing will be uploaded to the Internet.
</p>
<div id="errorMessage" style="font-size:small">
</div>
<!-- div id="slider" style="font-size:small">
<label for="timeSlider">Time:</label>
<button id="timeBack"><span class="fa fa-caret-left"></span></button>
<input type="range" id="timeSlider" step="1" value="0" min="0" max="100" />
<button id="timeForward"><span class="fa fa-caret-right"></span></button>
<p id="timePositionDisplay"></p>
</div -->
<b>Preferences</b>
<p style="font-size:small">
<label for="altitudeUnits">Altitude units:</label>
<select id="altitudeUnits" autocomplete="off">
<option value="metres">Metres</option>
<option value="feet">Feet</option>
</select>
</p>
<p style="font-size:small">
<label for="timeZoneSelect">Time zone:</label>
<select id="timeZoneSelect">
</select>
</p>
<div id="igcFileDisplay" style="font-size:small">
<b>Flight Information</b>
<table id="headerInfo">
<tbody></tbody>
</table>
<div id="igctask" style="font-size:small">
<b>Task</b>
<ul>
</ul>
</div>
</div>
</div>
</div> <!-- IGC tab -->
</div> <!-- Tab panes -->
</div> <!-- side-bar end -->
<!-- RASP map -->
<div id="raspmap">
<table>
<tr>
<!-- make some room for the side-bar -->
<td><img src="img/transpixel.png" width="40px"></td>
<!-- RASP images go here -->
<td id="imgdata" valign="top">
<div id="imgDiv">
<table class="raspmain">
<tr>
<td>
<div id="topDiv">
<div id="topTitle" >
<span>
<a class="prev-wrapper" onclick="prevDay();" title="Previous Day"><img src="img/prev-button.png" alt="#"></a>
<img id="theTitle" src="" alt="The Title">
<a class="next-wrapper" onclick="nextDay();" title="Next Day"><img src="img/next-button.png" alt="#" id="next-day-button"></a>
</span>
</div>
</div>
</td>
<td></td> <!-- Dummy Cell in upper right corner -->
</tr>
<tr>
<td>
<div id="map" class="sidebar-map"></div>
</td>
<td>
<div id="sideScale">
<img id="theSideScale" src="" alt="Side Scale">
</div>
</td>
</tr>
<tr>
<td>
<div id="botScale">
<img id="theScale" alt="Bottom Scale" src="">
</div>
</td>
<td></td> <!-- Dummy Cell -->
</tr>
</table>
</div> <!-- imgDiv -->
<div id="knvvl" style="display: flex; justify-content: flex-end">
<!-- sponsored by KNVvL -->
<a href="https://knvvl.nl/zweefvliegen" target="_blank">
<img src="../images/knvvl/logo_big.png" alt="KNVvL" style="position: relative;top:-90px;right:91px; width:91px;height:auto;z-index: 1100;" title="Sponsored by KNVvL"></a>
</div>
<!-- time slider for the IGC Viewer -->
<div id="slider" style="font-size:small;position: relative;top:-150px;right:-30px; width:500px;height:auto;z-index: 1100;display:none">
<label for="timeSlider" style="font-weight:bold">Time:</label>
<button id="timeBack"><span class="fa fa-caret-left"></span></button>
<input type="range" id="timeSlider" step="1" value="0" min="0" max="100" style="width:70%"/>
<button id="timeForward"><span class="fa fa-caret-right"></span></button>
<p id="timePositionDisplay" style="font-weight:bold"></p>
</div>
</td>
</tr>
</table>
</div>
<!-- Finally, kick the javascript into action -->
<script type="text/javascript">
// optional notification
showNotification();
// RASPViewer init
initIt();
</script>
</body>
</html>