Skip to content

Handling no received data from WeatherSource#1145

Open
PhilippSchmelter wants to merge 99 commits intodevfrom
ps/#554-HandlingNoWeatherData
Open

Handling no received data from WeatherSource#1145
PhilippSchmelter wants to merge 99 commits intodevfrom
ps/#554-HandlingNoWeatherData

Conversation

@PhilippSchmelter
Copy link
Copy Markdown
Contributor

Resolves #554
Added an explicit Exception for handling no received data from WeatherSource to prevent the pipeline moving on without data.

@PhilippSchmelter PhilippSchmelter self-assigned this Aug 27, 2024
Comment thread src/main/java/edu/ie3/datamodel/exceptions/NoWeatherDataException.java Outdated
@PhilippSchmelter
Copy link
Copy Markdown
Contributor Author

Handling CSV-Source done

  • all getWeather() which returned optional
    //TODO
    REST of
    SQL
    Influx
    Couchbase

@PhilippSchmelter PhilippSchmelter marked this pull request as ready for review September 30, 2024 22:37
@danielfeismann danielfeismann added this to the Version 9.1 milestone Mar 10, 2026
Copy link
Copy Markdown
Member

@danielfeismann danielfeismann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for including the steps for possible healing of missing data. I have some additions and questions.

Comment thread CHANGELOG.md Outdated
Comment thread src/main/java/edu/ie3/datamodel/io/source/couchbase/CouchbaseWeatherSource.java Outdated
Comment thread src/main/java/edu/ie3/datamodel/io/source/WeatherSource.java
Comment thread src/main/java/edu/ie3/datamodel/io/source/WeatherSource.java
Comment thread src/main/java/edu/ie3/datamodel/io/source/WeatherSource.java Outdated
Comment thread src/test/groovy/edu/ie3/datamodel/io/source/csv/CsvWeatherSourceIconTest.groovy Outdated
Comment thread src/main/java/edu/ie3/datamodel/io/source/influxdb/InfluxDbWeatherSource.java Outdated
Copy link
Copy Markdown
Member

@danielfeismann danielfeismann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for considering the discussed points. This looks good to me! However, since weather is very important within our simulations I would prefer to have also a look by @staudtMarius on this.

Copy link
Copy Markdown
Member

@staudtMarius staudtMarius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are some first remarks from my side.

Comment thread src/main/java/edu/ie3/datamodel/io/source/csv/CsvWeatherSource.java
Comment thread src/main/java/edu/ie3/datamodel/io/source/sql/SqlWeatherSource.java
Comment thread src/main/java/edu/ie3/datamodel/io/source/sql/SqlWeatherSource.java
@danielfeismann danielfeismann added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Apr 2, 2026
danielfeismann and others added 3 commits April 10, 2026 14:06
# Conflicts:
#	src/test/groovy/edu/ie3/datamodel/io/source/couchbase/CouchbaseWeatherSourceCosmoIT.groovy
#	src/test/groovy/edu/ie3/datamodel/io/source/couchbase/CouchbaseWeatherSourceIconIT.groovy
Copy link
Copy Markdown
Member

@staudtMarius staudtMarius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some remarks from my side.

Comment thread CHANGELOG.md Outdated
Comment thread src/main/java/edu/ie3/datamodel/exceptions/NoDataException.java Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explicitly handle not receiving any weather data from the weather source

4 participants