-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
242 lines (236 loc) · 17.6 KB
/
Copy pathindex.html
File metadata and controls
242 lines (236 loc) · 17.6 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
<!doctype html>
<html>
<head>
<title>NZ Wave Data Tool</title>
<meta charset="utf-8">
<script>
window.location.href = "hindcast.html";
</script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css"/>
<link rel="stylesheet" href="https://unpkg.com/leaflet-draw@1.0.3/dist/leaflet.draw.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.css"/>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css" />
<link rel="stylesheet" href="custom.css"/>
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet-src.js"></script>
<script src="https://unpkg.com/leaflet-draw@1.0.3/dist/leaflet.draw.js"></script>
<script src="https://unpkg.com/leaflet-providers@1.4.0/leaflet-providers.js"></script>
<script src="https://cdn.jsdelivr.net/gh/hayeswise/Leaflet.PointInPolygon@v1.0.0/wise-leaflet-pip.js"></script>
<script src="https://unpkg.com/terraformer@1.0.8/terraformer.js"></script>
<script src="https://unpkg.com/terraformer-wkt-parser@1.1.2/terraformer-wkt-parser.js"></script>
<script src="https://unpkg.com/jquery@3.3.1/dist/jquery.min.js"></script>
<script src="https://unpkg.com/vis@4.21.0/dist/vis.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.23.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/spin.js/2.3.2/spin.min.js"></script>
<script src="https://unpkg.com/leaflet-spin@1.1.0/leaflet.spin.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js"></script>
<script src="https://unpkg.com/leaflet-rotatedmarker@0.2.0/leaflet.rotatedMarker.js"></script>
<script src="https://unpkg.com/leaflet-svg-shape-markers@1.1.0/dist/leaflet-svg-shape-markers.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.0.3/chroma.min.js"></script>
</head>
<body>
<h1 id="title">NZ Wave Data Tool</h1>
<div id="map"></div>
<div id="mainControls">
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="vis-tab" data-toggle="tab" href="#vis" role="tab" aria-controls="vis" aria-selected="true">Data Visualisation</a>
</li>
<li class="nav-item">
<a class="nav-link" id="export-tab" data-toggle="tab" href="#export" role="tab" aria-controls="export" aria-selected="false">Data Exporting</a>
</li>
<li class="nav-item">
<a class="nav-link" id="about-tab" data-toggle="tab" href="#about" role="tab" aria-controls="about" aria-selected="false">About</a>
</li>
</ul>
<h4>Step 1: Select a model</h4>
<div class="form-group">
<select id="model" class="form-control" aria-describedby="selectHelp" style="outline: none;">
<option value="NZ-HIST-000" selected>NZ Hindcast - 1993-2013</option>
<option disabled>-------------------</option>
<option value="NZ-HIST-H0A">ACCESS1.0 - Historical - 1993-2006</option>
<option value="NZ-PROJ-M4A">ACCESS1.0 - RCP4.5 - 2026-2046</option>
<option value="NZ-PROJ-M8A">ACCESS1.0 - RCP8.5 - 2026-2046</option>
<option value="NZ-PROJ-E4A">ACCESS1.0 - RCP4.5 - 2081-2101</option>
<option value="NZ-PROJ-E8A">ACCESS1.0 - RCP8.5 - 2081-2101</option>
<option value="NZ-HIST-H0C">CNRM-CM5 - Historical - 1993-2006</option>
<option value="NZ-PROJ-M4A">CNRM-CM5 - RCP4.5 - 2026-2046</option>
<option value="NZ-PROJ-M8C">CNRM-CM5 - RCP8.5 - 2026-2046</option>
<option value="NZ-PROJ-E4C">CNRM-CM5 - RCP4.5 - 2081-2101</option>
<option value="NZ-PROJ-E8C">CNRM-CM5 - RCP8.5 - 2081-2101</option>
<option value="NZ-HIST-H0M">MIROC5 - Historical - 1993-2006</option>
<option value="NZ-PROJ-M4M">MIROC5 - RCP4.5 - 2026-2046</option>
<option value="NZ-PROJ-M8M">MIROC5 - RCP8.5 - 2026-2046</option>
<option value="NZ-PROJ-E4M">MIROC5 - RCP4.5 - 2081-2101</option>
<option value="NZ-PROJ-E8M">MIROC5 - RCP8.5 - 2081-2101</option>
</select>
</div>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="vis" role="tabpanel" aria-labelledby="vis-tab">
<form>
<h4>Step 2: Select a variable to visualise</h4>
<div class="form-group">
<select id="var" class="form-control" aria-describedby="selectHelp" style="outline: none;">
<option value="HSIGN-Hsig" selected>Hsig</option>
<option value="DIR-Dir">Dir</option>
<option value="RTP-RTpeak">Tpeak</option>
<option value="RTM01-RTm01">Tm01</option>
<option value="DEPTH-Depth">Depth</option>
</select>
</div>
<div class="form-group">
Displayed time:
<input id="current" type="datetime-local" class="form-control"></input>
</div>
</form>
</div>
<div class="tab-pane fade" id="export" role="tabpanel" aria-labelledby="export-tab">
<h4>Step 2: Select variables to export</h4>
<select id="exportmodelvars" class="form-control" aria-describedby="selectHelp" style="outline: none;display:none" multiple>
<optgroup label="Integrated:">
<option value="HSIGN-Hsig">Hsig</option>
<option value="HSWELL-Hswell">Hswell</option>
<option value="DIR-Dir">Dir</option>
<option value="PDIR-PkDir">PkDir</option>
<option value="RTM01-RTm01">Tm01</option>
<option value="TM02-Tm02">Tm02</option>
<option value="RTMM10-RTm_10">Tm_10</option>
<option value="RTP-RTpeak">Tpeak</option>
<option value="TPS-TPsmoo">TPsmoo</option>
<option value="DPSR-Dspr">Dspr</option>
<option value="FSPR-FSpr">FSpr</option>
<option value="WLEN-Wlen">Wlen</option>
<option value="QP-Qp">Qp</option>
<option value="LWAVP-Lwavp">Lwavp</option>
</optgroup>
<optgroup label="Partitioned">
<option value="PTDIR">Dir</option>
<option value="PTDSPR">Dspr</option>
<option value="PTHSIGN">Hsig</option>
<option value="PTRTP">Tpeak</option>
<option value="PTSTEEP">Steep</option>
<option value="PTWLEN">Wlen</option>
<option value="PTWFRAC">Wfrc</option>
</optgroup>
<optgroup label="Other:">
<option value="DEPTH-Depth">Bathymetry (Depth)</option>
<option value="WIND-Windv_x">Winds - Windv_x</option>
<option value="WIND-Windv_y">Winds - Windv_y</option>
</optgroup>
</select>
<select id="exportmodelvarsnew" class="form-control" aria-describedby="selectHelp" style="outline: none;display:none" multiple>
<optgroup label="Integrated:">
<option value="HSIGN-Hsig">Hsig</option>
<option value="DIR-Dir">Dir</option>
<option value="PDIR-PkDir">PkDir</option>
<option value="RTM01-RTm01">Tm01</option>
<option value="TM02-Tm02">Tm02</option>
<option value="RTP-RTpeak">Tpeak</option>
<option value="DPSR-Dspr">Dspr</option>
</optgroup>
<optgroup label="Other:">
<option value="DEPTH-Depth">Bathymetry (Depth)</option>
<option value="WIND-Windv_x">Winds - Windv_x</option>
<option value="WIND-Windv_y">Winds - Windv_y</option>
</optgroup>
</select>
<small id="selectHelp" class="form-text">
For an explanation of these variables, please click <a href="vars.pdf">here</a>
</small>
<div id="download_info">
<h4>Step 3: Select data points</h4>
<small>To select a subset of data points, use the polygon or rectangle tool. Making a new selection will replace the previous selection.</small>
<div id="control"></div>
<h6>
<span id="selected_points">0</span> data points selected.
</h6>
<h4>Step 4: Select a time range</h4>
<small>Adjust the time range here or by dragging the ends of the timeseries export range control at the bottom.</small>
<h6>Timeseries range:</h6>
<form class="form-inline">
<input id="start" type="datetime-local" class="form-control"></input>-
<input id="end" type="datetime-local" class="form-control"></input>
</form>
<h6>
<span id="selected_days">0</span> days selected.
</h6>
<h6>
<span id="total_rows">0</span> total rows for export. <span id="est_time_wrapper">Estimated (worst-case) time to export: about <span id="est_time">1 minute</span></span>
</h6>
<button id="download" class="btn btn-primary">Export</button>
<button id="cancel_download" class="btn btn-danger" style="display:none">Cancel</button>
<h6 id="statustext"></h6>
<div id="download_status">
</div>
</div>
</div>
<div class="tab-pane fade" id="about" role="tabpanel" aria-labelledby="about-tab">
<p class="western" align="center" style="margin-bottom: 0cm; line-height: 100%; margin-top: 5px;">
<font size="4" style="font-size: 14pt"><b>A high resolution 20-year
partitioned hindcast for the New Zealand area</b></font></p>
<p class="western" align="center" style="margin-bottom: 0cm; line-height: 100%">
João Albuquerque, Jose A. A. Antolínez, Richard Gorman, Fernando J.
Méndez, Giovanni Coco</p>
<p class="western" style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p class="western" align="justify" style="margin-bottom: 0cm; line-height: 100%">
Partitioned WAVEWATCH-III results from a 20-year (1993-2012) global
wave model (<font color="#000080"><span lang="zxx"><u><a href="https://www.sciencedirect.com/science/article/abs/pii/S1463500312001709">Rascle
and Ardhuin, 2013</a></u></span></font>) were calibrated using a
state-of-the-art directional wind-sea and swell wave height
correction method based on satellite data (<font color="#000080"><span lang="zxx"><u><a href="https://www.sciencedirect.com/science/article/abs/pii/S1463500318301379">Albuquerque
et al., 2018</a></u></span></font>). The corrected partitions were
then used to reconstruct the multimodal wave spectra along the
boundaries of a SWAN grid that encompasses the whole New Zealand
area. Waves were downscaled in non-stationary mode with CFSR wind
forcings through 2 levels of nested grids, having both partitioned
and integrated parameters stored at a 9Km resolution. Validation
carried out against the available buoy data shows a good agreement
between instrumental and hindcast data. Wave parameters estimated in
areas where the water depth is lower than 30 metres were discarded as
they might not represent physically sound values due to depth and
grid resolution.</p>
<p class="western" align="justify" style="margin-bottom: 0cm; line-height: 100%"><a name="_GoBack"></a>
<br/>
As the latest <font color="#000080"><span lang="zxx"><u><a href="https://www.tandfonline.com/doi/abs/10.1080/00288330.2003.9517191">published
hindcast of the New Zealand waters</a></u></span></font> dates back
from 2003, the presented database, providing extensible and reliable
information of the wave characteristics of New Zealand, will be of
great value to a number of future studies, such as beach erosion,
coastal inundation, and risk assessment. The partitioned wave data
can provide valuable insights on the regional wave climate and its
main drivers. The full description of data and methods will be
available shortly in Albuquerque et al., 2019 (in prep).</p>
<p class="western" style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p class="western" align="justify" style="margin-bottom: 0cm; line-height: 100%">We
acknowledge funding from a New Zealand GNS-Hazard Platform grant to
Giovanni Coco. We also acknowledge <font color="#000080"><span lang="zxx"><u><a href="https://www.nesi.org.nz/">NeSI</a></u></span></font>
for providing us the computing power necessary to perform the
simulations and the <font color="#000080"><span lang="zxx"><u><a href="https://www.eresearch.auckland.ac.nz">Centre for eResearch</a></u></span></font> for assisting us on the development of this hindcast
web-interface.</p>
<p class="western" align="justify" style="margin-bottom: 0cm; line-height: 100%"><br/>
For
more information about the authors and their research group, please
visit the Coast and Ocean Collective’s <font color="#000080"><span lang="zxx"><u><a href="https://coastalhub.science/">web
page</a></u></span></font> or <font color="#000080"><span lang="zxx"><u><a href="https://twitter.com/coastandoceanc1">Twitter</a></u></span></font>
account.</p>
</div>
</div>
</div>
<div id="timeline">
<div id="buttons">
<button type="button" class="btn" id="play"><i class="fas fa-play"></i></button>
<button type="button" onclick="timeline.zoomIn(1)" class="btn" id="zoomIn"><i class="fas fa-search-plus"></i></button>
<button type="button" onclick="timeline.zoomOut(1)" class="btn" id="zoomOut"><i class="fas fa-search-minus"></i></button>
</div>
</div>
<script src="custom.js"></script>
</body>
</html>