Skip to content

weacast/weacast-gfs

Repository files navigation

weacast-gfs

Build Status Code Climate Test Coverage Dependency Status Documentation Download Status

GFS weather forecast model plugin for Weacast

Installation

npm install weacast-gfs --save
// Or with Yarn
yarn add weacast-gfs

Documentation

The Weacast docs are loaded with awesome stuff and tell you everything you need to know about using and configuring Weacast. Some details about this plugin can be found here.

Complete Example

Here's an example of a Weacast server that uses weacast-gfs.

import gfsPlugin from 'weacast-gfs'

module.exports = function() {
  const app = this
  
  // Set up our plugin services
  app.configure(gfsPlugin)
}

Development

While it is a WIP and not yet pushed to NPM, or when developing this plugin, please clone this repository and use npm link:

// Clone and link the plugin
git clone https://github.com/weacast/weacast-gfs.git
cd weacast-gfs
npm link
// Clone and link plugin to weacast server
cd ..
git clone https://github.com/weacast/weacast.git
cd weacast
cd api
npm link weacast-gfs

As this module also depends on weacast-core and grib2json you have to do the same thing for them.

License

Copyright (c) 2017

Licensed under the MIT license.

About

GFS weather forecast model plugin for Weacast

Resources

License

Stars

Watchers

Forks

Packages

No packages published