You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
3.9 KiB
111 lines
3.9 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title></title>
|
|
<link href='css/index.css' rel='stylesheet' type='text/css'>
|
|
<script src='/bb-2016/js/ui.js'></script>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Buoy Analysis</h1>
|
|
<h2>NOAA data for stations off the California coast from 1982 to 2015</h2>
|
|
<hr>
|
|
|
|
<h3>Project Goal</h3>
|
|
|
|
<blockquote>
|
|
Create visualization of California coastal ocean temperature data to find monthly and yearly trends.
|
|
<br><br>
|
|
Visualization should invite interaction to create and answer questions such as:
|
|
<ul>
|
|
<li>Are ocean temperatures increasing?</li>
|
|
<li>What are the visible effects of El Nino?</li>
|
|
<li>What is the temperature of the ocean near San Francisco?</li>
|
|
</ul>
|
|
</blockquote>
|
|
|
|
<p>
|
|
Data source: <a href="http://www.ndbc.noaa.gov/">National Data Buoy Center</a>. Historical data, such as <a href="http://www.ndbc.noaa.gov/station_history.php?station=46213">46213 Cape Mendocino</a>, is mostly available since 1982. Extract, transform, and reduce scripts run on Node, publically available in <a href="http://gogs.benburlingham.com/ben.burlingham/buoy-analysis">source code</a>.
|
|
</p>
|
|
|
|
<p>
|
|
This visualization is created using D3 and Three.js libraries.
|
|
</p>
|
|
|
|
<div class="main">
|
|
<div id='map'><svg></svg></div>
|
|
|
|
<input type="range" title='Reticle Size' class='reticle-sizer' value='10'>
|
|
|
|
<div class="bar-display">
|
|
<div class="toggle toggle1 selected"></div>
|
|
<div class="toggle toggle2"></div>
|
|
<div class="toggle toggle3"></div>
|
|
</div>
|
|
|
|
<div class="column-display">
|
|
<div class="toggle toggle1">Air Temperature</div>
|
|
<div class="toggle toggle2 selected">Water Temperature</div>
|
|
<div class="toggle toggle3">Wave Height</div>
|
|
<div class="toggle toggle4">Wave Period</div>
|
|
<div class="toggle toggle5">Wind Speed</div>
|
|
</div>
|
|
|
|
<div id="chart"><svg></svg></div>
|
|
<div id="year-labels"></div>
|
|
|
|
<div id="chart3"></div>
|
|
</div>
|
|
|
|
<!-- <script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script> -->
|
|
<!-- <script src="//d3js.org/topojson.v1.min.js"></script> -->
|
|
<!-- https://cdnjs.cloudflare.com/ajax/libs/three.js/r74/three.min.js -->
|
|
<script src="vendor/three.min.js"></script>
|
|
<script src="vendor/TextGeometry.js"></script>
|
|
<script src="vendor/FontUtils.js"></script>
|
|
<script src="vendor/OrbitControls.js"></script>
|
|
<script src="vendor/d3.min.js"></script>
|
|
<script src="vendor/topojson.min.js"></script>
|
|
<script src="vendor/roboto.typeface.js"></script>
|
|
|
|
<script src="js/data.js"></script>
|
|
<script src="js/map.js"></script>
|
|
<script src="js/behaviors.js"></script>
|
|
<script src="js/chart.js"></script>
|
|
<script src="js/chart3.js"></script>
|
|
<script src="js/init.js"></script>
|
|
|
|
<!--
|
|
Deploy!
|
|
Pong!
|
|
|
|
https://css-tricks.com/svg-line-animation-works/
|
|
|
|
DISCUSS:
|
|
Gradient evolution
|
|
- Opacity solution lacks saturation and transition alignment (omit?)
|
|
- Composite solution overly complex and lacks transition alignment
|
|
- Square mesh OK, causes diamond-shaped artifacts
|
|
- Triangle mesh?
|
|
|
|
gourand / phong?
|
|
Delaunay / Voronoi
|
|
Mesh gradients / coon mesh (http://www.svgopen.org/2011/papers/18-Advanced_Gradients_for_SVG/)
|
|
feImage
|
|
|
|
ogr2ogr -f "esri shapefile" -where "sov_a3 = 'MEX'" C:/dev/bb/buoy-analysis/data/map/merged.shp C:/dev/bb/buoy-analysis/data/map/countries.shp
|
|
ogr2ogr -f "esri shapefile" -update -append C:/dev/bb/buoy-analysis/data/map/merged.shp C:/dev/bb/buoy-analysis/data/map/states.shp
|
|
ogr2ogr -f GeoJSON -clipsrc -105 30 -125 43 C:/dev/bb/buoy-analysis/data/map.json C:/dev/bb/buoy-analysis/data/map/merged.shp
|
|
ogr2ogr -f GeoJSON C:/dev/bb/buoy-analysis/data/map/places.json C:/dev/bb/buoy-analysis/data/map/places.shp
|
|
topojson -o test.json _map.json
|
|
|
|
http://dvisvgm.bplaced.net/Gradients
|
|
http://www.gdal.org/ogr_sql.html
|
|
http://www.sarasafavi.com/intro-to-ogr-part-i-exploring-data.html
|
|
-->
|
|
|
|
<!-- <h3>ETL Stage</h3> -->
|
|
|
|
</body>
|
|
</html>
|
|
|