Project

welements

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby API for National Oceanic and Atmospheric Administration weather data
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

>= 1.6.5
>= 2.2.2
~> 1.5.0
 Project Readme

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 (m2@innerlogic.org)

Fork

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