frequenz-floss / frequenz-api-weather

gRPC+protobuf specification and Python bindings for the Frequenz Weather API
MIT License
0 stars 8 forks source link

Allow clients to request a subset of validity times #60

Closed shsms closed 1 week ago

shsms commented 9 months ago

What's needed?

Currently the weather forecast streaming method and the historical forecast method would return all available validity times for every request. This could be a lot more data than what's actually necessary when there's high resolution data or longer term predictions.

To avoid this, the methods should accept an optional filter for validity times in their requests.

Proposed solution

A possible implementation could look like this: https://github.com/frequenz-floss/frequenz-api-weather/pull/56/files

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

TalweSingh commented 1 week ago

superseded by #116