Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider None-equivalent value for missing data points in weather #188

Open
sebastian-peter opened this issue Apr 6, 2022 · 1 comment · May be fixed by #417
Open

Consider None-equivalent value for missing data points in weather #188

sebastian-peter opened this issue Apr 6, 2022 · 1 comment · May be fixed by #417
Assignees
Labels
question Further information is requested

Comments

@sebastian-peter
Copy link
Member

When no weather data is present for a coordinate/time combination, specific values (e.g. 0°K for empty temperature) are provided.

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.

@sebastian-peter sebastian-peter added the question Further information is requested label Apr 6, 2022
@staudtMarius staudtMarius self-assigned this Sep 13, 2022
staudtMarius added a commit that referenced this issue Nov 29, 2022
staudtMarius added a commit that referenced this issue Dec 5, 2022
staudtMarius added a commit that referenced this issue Dec 6, 2022
…-value-for-missing-data-pints-in-weather' into ms/#188-consider-none-equivalent-value-for-missing-data-pints-in-weather
staudtMarius added a commit that referenced this issue Dec 8, 2022
@t-ober
Copy link
Contributor

t-ober commented Jan 18, 2023

@staudtMarius we should also log that we do not get any weather data for the specified time. This makes debugging much easier.

staudtMarius added a commit that referenced this issue Jan 19, 2023
staudtMarius added a commit that referenced this issue Jan 26, 2023
staudtMarius added a commit that referenced this issue Feb 20, 2023
…ssing-data-pints-in-weather

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Feb 27, 2023
…ssing-data-pints-in-weather

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Mar 1, 2023
staudtMarius added a commit that referenced this issue Apr 11, 2023
staudtMarius added a commit that referenced this issue Apr 18, 2023
staudtMarius added a commit that referenced this issue Apr 26, 2023
…ssing-data-pints-in-weather

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue May 2, 2023
staudtMarius added a commit that referenced this issue May 4, 2023
staudtMarius added a commit that referenced this issue May 9, 2023
staudtMarius added a commit that referenced this issue May 16, 2023
staudtMarius added a commit that referenced this issue May 25, 2023
staudtMarius added a commit that referenced this issue Jul 19, 2023
staudtMarius added a commit that referenced this issue Aug 14, 2023
staudtMarius added a commit that referenced this issue Aug 24, 2023
staudtMarius added a commit that referenced this issue Sep 28, 2023
…ssing-data-pints-in-weather

# Conflicts:
#	src/main/scala/edu/ie3/simona/ontology/messages/services/WeatherMessage.scala
#	src/main/scala/edu/ie3/simona/service/weather/WeatherSource.scala
#	src/test/scala/edu/ie3/simona/service/weather/WeatherSourceSpec.scala
staudtMarius added a commit that referenced this issue Oct 6, 2023
staudtMarius added a commit that referenced this issue Oct 23, 2023
…ssing-data-pints-in-weather

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Nov 2, 2023
staudtMarius added a commit that referenced this issue Nov 14, 2023
…ssing-data-pints-in-weather

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Nov 14, 2023
…-value-for-missing-data-pints-in-weather' into ms/#188-consider-none-equivalent-value-for-missing-data-pints-in-weather
staudtMarius added a commit that referenced this issue Nov 16, 2023
staudtMarius added a commit that referenced this issue Nov 20, 2023
staudtMarius added a commit that referenced this issue Nov 21, 2023
…ssing-data-pints-in-weather

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Nov 21, 2023
…-value-for-missing-data-pints-in-weather' into ms/#188-consider-none-equivalent-value-for-missing-data-pints-in-weather
staudtMarius added a commit that referenced this issue Nov 29, 2023
…ssing-data-pints-in-weather

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Jan 8, 2024
…ssing-data-pints-in-weather

# Conflicts:
#	CHANGELOG.md
#	src/main/scala/edu/ie3/simona/service/weather/WeatherSource.scala
staudtMarius added a commit that referenced this issue Jan 18, 2024
staudtMarius added a commit that referenced this issue Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants