SeitaBV / flexmeasures-openweathermap

Integration to the OpenWeatherMap API from FlexMeasures.
Apache License 2.0
4 stars 1 forks source link

Add setting for minimal degrees search distance for weather station #18

Closed nhoening closed 1 year ago

nhoening commented 1 year ago

We use the variable max_degree_difference_for_nearest_weather_sensor with a default value of 2, when looking up weather sensors. So both latitude and longitude must be within this margin of error.

Ahmad-Wahid commented 1 year ago

Do we consider the best canditate between these 2 stations based on the shortest distance from the location?

nhoening commented 1 year ago

The candidates are ordered by distance and the nearest is chosen