WeatherReport.Forecast.XML (weather_report v0.3.0)

Forecast parsed from a NOAA station XML feed.
Contains more detailed information than a forecast from a station RSS feed.

Link to this section Summary

Functions

Parses an xml document into a forecast.

Link to this section Types

@type t() :: %WeatherReport.Forecast.XML{
  dewpoint_c: float(),
  dewpoint_f: float(),
  dewpoint_string: String.t(),
  icon_url: String.t(),
  latitude: float(),
  location: String.t(),
  longitude: float(),
  observation_time: String.t(),
  observation_time_rfc822: String.t(),
  pressure_in: float(),
  relative_humidity: integer(),
  station_id: String.t(),
  suggested_pickup: String.t(),
  suggested_pickup_period: integer(),
  temp_c: float(),
  temp_f: float(),
  temperature_string: String.t(),
  visibility_mi: float(),
  weather: String.t(),
  wind_degrees: integer(),
  wind_dir: String.t(),
  wind_kt: integer(),
  wind_mph: float(),
  wind_string: String.t()
}

Link to this section Functions

@spec parse(String.t()) :: t()

Parses an xml document into a forecast.