Awesome
wind-js-server
Simple demo rest service to expose GRIB2 wind forecast data (1 degree, 6 hourly from NOAA) as JSON. <br/>
Consumed in leaflet-velocity. Contains a pre-packaged copy of grib2json for conversion.
Data Vis demo here: http://danwild.github.io/leaflet-velocity
Note that this is intended as a crude demonstration, not intended for production use. To get to production; you should improve upon this or build your own.
install, run:
(assumes you have node and npm installed)
# from project root:
npm install
npm start
endpoints
- /latest returns the most up to date JSON data available
- /nearest returns JSON data nearest to requested
- $GET params:
timeIso
an ISO timestamp for temporal targetsearchLimit
number of days to search beyond the timeIso (will search backwards, then forwards)
- $GET params:
- /alive health check url, returns simple message
License
MIT License (MIT)