Skip to content

A Ruby gem for getting data from the NDBC (National Data Buoy Center)

License

Notifications You must be signed in to change notification settings

ryanhertz/buoyancy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buoyancy

A Ruby gem for getting data from the NDBC (National Data Buoy Center). The data provided by these stations (buoys) is incredibly useful, but the data itself is inconsistent, poorly formatted, and somewhat difficult to figure out how to get. This gem is a wrapper that simplifies all of that.

Installation

Add this line to your application's Gemfile:

gem "buoyancy"

And then execute:

$ bundle

Or install it yourself as:

$ gem install buoyancy

Usage

require "rubygems"
require "bundler"
Bundler.setup

require "buoyancy"

# Get a list of all the stations
Buoyancy.stations

# Meteorological data coming soon
# Buoyancy.station("0y2w3").meteorological

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A Ruby gem for getting data from the NDBC (National Data Buoy Center)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%