class WeatherGov::ObservationStation

Public Instance Methods

elevation() click to toggle source
# File lib/weather_gov/observation_station.rb, line 23
def elevation
  properties.fetch("elevation")
end
fire_weather_zone() click to toggle source
# File lib/weather_gov/observation_station.rb, line 11
def fire_weather_zone
  @fire_weather_zone ||= Identifier::FireZone.new(properties.fetch("fireWeatherZone"))
end
forecast_zone() click to toggle source
# File lib/weather_gov/observation_station.rb, line 7
def forecast_zone
  @forecast_zone ||= Identifier::ForecastZone.new(properties.fetch("forecast"))
end
name() click to toggle source
# File lib/weather_gov/observation_station.rb, line 19
def name
  properties.fetch("name")
end
station_identifier() click to toggle source
# File lib/weather_gov/observation_station.rb, line 15
def station_identifier
  properties.fetch("stationIdentifier")
end