module Forecaster
Fetch and read data from the Global Forecast
System.
Fetch and read data from the Global Forecast
System.
Fetch and read data from the Global Forecast
System.
Fetch and read data from the Global Forecast
System.
Read data from the Global Forecast
System
Constants
- VERSION
Attributes
configuration[RW]
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/forecaster.rb, line 12 def self.configure self.configuration ||= Forecaster::Configuration.new yield(configuration) end
fetch(year, month, day, hour_of_run, hour_of_forecast)
click to toggle source
# File lib/forecaster.rb, line 17 def self.fetch(year, month, day, hour_of_run, hour_of_forecast) y = year m = month d = day c = hour_of_run h = hour_of_forecast forecast = Forecaster::Forecast.new(y, m, d, c, h) forecast.fetch forecast end