Interface WeatherSource

All Superinterfaces:
DataSource
All Known Implementing Classes:
CouchbaseWeatherSource, CsvWeatherSource, InfluxDbWeatherSource, SqlWeatherSource

public interface WeatherSource extends DataSource
Describes a data source for weather data
  • Method Details

    • getWeather

      Map<org.locationtech.jts.geom.Point,IndividualTimeSeries<WeatherValue>> getWeather(edu.ie3.util.interval.ClosedInterval<ZonedDateTime> timeInterval)
      Return the weather for the given time interval
      Parameters:
      timeInterval - Queried time interval
      Returns:
      weather data for the specified time range, sorted by coordinate
    • getWeather

      Map<org.locationtech.jts.geom.Point,IndividualTimeSeries<WeatherValue>> getWeather(edu.ie3.util.interval.ClosedInterval<ZonedDateTime> timeInterval, Collection<org.locationtech.jts.geom.Point> coordinates)
      Return the weather for the given time interval AND coordinates
      Parameters:
      timeInterval - Queried time interval
      coordinates - Queried coordinates
      Returns:
      weather data for the specified time range and coordinates, sorted by coordinate
    • getWeather

      Optional<TimeBasedValue<WeatherValue>> getWeather(ZonedDateTime date, org.locationtech.jts.geom.Point coordinate)
      Return the weather for the given time date AND coordinate
      Parameters:
      date - Queried date time
      coordinate - Queried coordinate
      Returns:
      weather data for the specified time and coordinate