Skip to content

matmalone/welements

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

welements

http://github.com/matmalone/welements

Description

welements is a library that provides an API for the National Weather Service's National Digital Forecast Database (NDFD). This provides a broad array of different forecast elements that can be queried.

Features

  • Find detailed forecasts using lat/lng.
  • Access all relevant data the NDFD feed.

Requirements

  • libxml-ruby >= 0.9.7
  • geokit >= 1.5.0
  • echoe ~> 4.6

Installation

gem install welements

Usage

Get current conditions

forecast = Welements.welements(lat, lng)
puts "The next hourly forecast temperature is #{forecast.temperature_hourly[0][:value]} Celcius at #{forecast.temperature_hourly[0][:time]}."

Contact

Mat Malone ([email protected])

Fork

welements is originally based on Mat Brown's outoftime-noaa project: http://github.com/outoftime/noaa. outoftime-noaa Copyright 2008 Mat Brown.

About

Ruby API for National Oceanic and Atmospheric Association (National Weather Service) weather data

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Ruby 100.0%