WeatherReport.Station (weather_report v0.3.0)

NOAA observation station.

Link to this section Summary

Functions

Parses an xml document into a station.

Link to this section Types

@type t() :: %WeatherReport.Station{
  html_url: String.t(),
  latitude: float(),
  longitude: float(),
  rss_url: String.t(),
  state: String.t(),
  station_id: String.t(),
  station_name: String.t(),
  xml_url: String.t()
}

Link to this section Functions

Link to this function

parse_station(doc)

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

Parses an xml document into a station.