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

WeatherService: Use actual list of available ticks #186

Open
sebastian-peter opened this issue Apr 5, 2022 · 0 comments
Open

WeatherService: Use actual list of available ticks #186

sebastian-peter opened this issue Apr 5, 2022 · 0 comments

Comments

@sebastian-peter
Copy link
Member

Depends on ie3-institute/PowerSystemDataModel#572

Currently, ticks for which weather data is available is computed using starting/ending time and resolution. Implement a request to the PSDM-WeatherSource so that the actual available ticks are used.

override def getDataTicks(
requestFrameStart: Long,
requestFrameEnd: Long
): Array[Long] =
TickUtil.getTicksInBetween(requestFrameStart, requestFrameEnd, resolution)
}

@sebastian-peter sebastian-peter added the code quality Code readability or efficiency is improved label Apr 5, 2022
@sebastian-peter sebastian-peter removed the code quality Code readability or efficiency is improved label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant