-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
questionFurther information is requestedFurther information is requested
Description
When no weather data is present for a coordinate/time combination, specific values (e.g. 0°K for empty temperature) are provided.
simona/src/main/scala/edu/ie3/simona/service/weather/WeatherSource.scala
Lines 513 to 518 in ad824fc
val EMPTY_WEATHER_DATA: WeatherData = WeatherData( | |
Quantities.getQuantity(0d, StandardUnits.SOLAR_IRRADIANCE), | |
Quantities.getQuantity(0d, StandardUnits.SOLAR_IRRADIANCE), | |
Quantities.getQuantity(0d, Units.KELVIN).to(StandardUnits.TEMPERATURE), | |
Quantities.getQuantity(0d, StandardUnits.WIND_VELOCITY) | |
) |
We should have a discussion on whether this is the best way to solve this, in contrast to passing on None
(or equivalent) to SPAs.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested