Skip to content

jlc467/swello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swello

Marine weather forecast mashup powered by NOAA and Forecast.io

preview preview2

Implementation

Ocean Depth

Tampa Bay ocean depth data is shown in feet on the satellite map layer mapbox://styles/jcmuse/cikcm77hi007l9fm127xym4v1

Steps to add NOAA depth data to Mapbox style

  • Download ENC chart from NOAA using the Interactive Chart catalog
  • Use ogr's S-57 driver to convert to shapefile, e.g. ogr2ogr --config OGR_S57_OPTIONS RETURN_PRIMITIVES=ON,RETURN_LINKAGES=ON,LNAM_REFS=ON,SPLIT_MULTIPOINT=ON,ADD_SOUNDG_DEPTH=ON -nlt POINT25d US4FL10M.shp US4FL10M.000 SOUNDG Blog Post: Processing S57 soundings
  • Open in a GIS editor tool, e.g. QGIS and convert meters to feet
  • Upload shapefile to Mapbox Studio and add to style

How to run it

  • see server.js and client.js config files
  • enter tokens/keys from mapbox, forecast.io, and wunderground
  • cd client && npm install && npm run start
  • cd server && npm install && npm run serve
  • Webpack dev server runs on http://localhost:8080 by default

Next Steps

  • Celsius option
  • Build React Native iOS/Android versions
  • Implement auth so favorites can persist beyond local storage
  • Get rid of inline functions (react/jsx-no-bind)

About

noaa marine zone forecasts mashup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published