-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
220 lines (171 loc) · 7.75 KB
/
index.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
<html>
<!--
Hope you're having a good day :)
WindViz
Author: Jordan Perr-Sauer - National Renewable Energy Laboratory (NREL)
Source: https://github.com/NREL/hsds-viz
Licence: BSD-3-Clause
Licenses for Redistributed Libraries:
- jquery
Copyright JS Foundation and other contributors, https://js.foundation/
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at https://github.com/jquery/jquery
- jBox (GNU GPL)
- Leaflet (BSD-2-Clause)
Copyright (c) 2010-2016, Vladimir Agafonkin
Copyright (c) 2010-2011, CloudMade
All rights reserved.
- leaflet-geometryutil (BSD-3-Clause)
Copyright (c) 2013, Makina Corpus
All rights reserved.
- proj4js (MIT)
Authors:
- Mike Adair madairATdmsolutions.ca
- Richard Greenwood richATgreenwoodmap.com
- Didier Richard didier.richardATign.fr
- Stephen Irons stephen.ironsATclear.net.nz
- Olivier Terral oterralATgmail.com
- Calvin Metcalf cmetcalfATappgeo.com
Copyright (c) 2014, Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf
- date-fns (MIT)
https://github.com/date-fns/date-fns/blob/master/LICENSE.md
- d3 (BSD 3-Clause)
Copyright 2010-2017 Mike Bostock
All rights reserved.
- Icomoon Free: https://icomoon.io/#home
- FULL TEXT LICENSES -
(BSD 3-Clause)
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the author nor the names of contributors may be used to
endorse or promote products derived from this software without specific prior
written permission.
(BSD 2-Clause)
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<head>
<script src="dist/manifest.bundle.js"></script>
<script src="dist/map.bundle.js"></script>
<script src="dist/page.bundle.js"></script>
<script src="dist/app.bundle.js"></script>
</head>
<body>
<div id="mapid"></div>
<div id="legend" title="Legend">
<div id="gradient">
<div class="tic">10m/s</div>
<div class="tic">5m/s</div>
<div class="tic">0m/s</div>
</div>
</div>
<div id="tools">
<div>
<span id="settings_img" class="icon-cog tool-button" title="Settings"></span>
<span id="info_img" class="icon-info tool-button" title="Information"></span>
</div>
<div class="border">
<b>Time:</b>
<input id="datepicker" type="text" value="1 Jan 2007">
<select id="timepicker">
<option value="0">12 AM</option>
<option value="1">1 AM</option>
<option value="2">2 AM</option>
<option value="3">3 AM</option>
<option value="4">4 AM</option>
<option value="5">5 AM</option>
<option value="6">6 AM</option>
<option value="7">7 AM</option>
<option value="8">8 AM</option>
<option value="9">9 AM</option>
<option value="10">10 AM</option>
<option value="11">11 AM</option>
<option value="12" selected="selected">12 PM</option>
<option value="13">1 PM</option>
<option value="14">2 PM</option>
<option value="15">3 PM</option>
<option value="16">4 PM</option>
<option value="17">5 PM</option>
<option value="18">6 PM</option>
<option value="19">7 PM</option>
<option value="20">8 PM</option>
<option value="21">9 PM</option>
<option value="22">10 PM</option>
<option value="23">11 PM</option>
</select>
</div>
<div class="border">
<b>Altitude:</b>
<select id="altitidepicker">
<option value="10">10m</option>
<option value="40">40m</option>
<option value="60">60m</option>
<option value="80">80m</option>
<option value="100" selected="selected">100m</option>
<option value="120">120m</option>
<option value="140">140m</option>
<option value="160">160m</option>
<option value="200">200m</option>
</select>
</div>
<div class="border" id="status_wrap">
<div> <b>Status:</b> </div> <div id="status"></div>
</div>
</div>
<div id="info_modal_title" class="hidden">
<b>WindViz Gridded Wind Toolkit Visualizer</b>
</div>
<div id="info_modal" class="hidden">
<div class='infomodal'><img width='300px' src='img/info.jpg' /></div>
<div class='infotext'>
This visualization shows the instantaneous wind speed at 100 meters over the continental United States using data from the <a href='https://www.nrel.gov/grid/wind-toolkit.html'>WIND Toolkit</a>. These data were generated using the WRF model by scientists at the <a href='http://nrel.gov'>National Renewable Energy Laboratory</a> to support research on development and integration of wind power into the electrical grid. The underlying dataset is more than 500TB, providing 7 years of data a 2km spatial resolution and 5 minute temporal resolution in order to support high resolution modeling of wind power production. This visualization demonstrates a public-access REST API providing access to a subset of these data with 1 hour temporal resolution and full spatial resolution for 2010 using the HDF Group's distributed cloud based service for <a href='https://github.com/HDFGroup/h5serv'>HDF5 data (HSDS)</a>.
<br/><br/>
The underlying code for this visualization is available on <a href='https://github.com/NREL/hsds-viz'>GitHub</a>. To learn how to use the data in your own research, visit the <a href='https://github.com/NREL/hsds-examples'>examples repository</a>.
</div>
</div>
<div id="error_modal_title" class="hidden">
<b>Server Error</b>
</div>
<div id="error_modal" class="hidden">
There was a problem getting data from the server. Please check your internet connection and reload the page.
</div>
<div id="settings_modal_title" class="hidden">
<b>Settings</b>
</div>
<div id="settings_modal" class="hidden">
<b>API Key:</b> <input type="text" class="api-input-text"/> <button type="submit" class="api-input-button"> Submit </button>
</div>
<div id="api_modal_title" class="hidden">
<b>API Key Rejected</b>
</div>
<div id="api_modal" class="hidden">
The API Key was rejected by the server. </br>
If you are using DEMO_KEY, then this message is likely due to the rate limit. </br>
You can obtain a new API key from <a href="https://developer.nrel.gov" target="_popup">developer.nrel.gov</a>. Please enter another NREL Developer API key and click "Submit" to continue using WindViz. </br>
<br/>
<br/>
<b>API Key:</b> <input type="text" class="api-input-text"/> <button type="submit" class="api-input-button"> Submit </button>
</div>
</body>
</html>