Skip to content

Is there a way to skip very long queries? #993

Answered by gutzbenj
lasinludwig asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @lasinludwig ,

to stop a request at a certain time you could go with next(filtered.values.query()) (as you said) and stop if a limit is reached.

The availability of data is really hard to tell from the start, which is why we added those kinds of tricks where it would iterate through multiple stations to find one that matches the criteria. Alternatively if you don't strongly depend on "original" data you may use our interpolate or summarize method which puts together data of different stations by either one of the methods. Obviously some parameters are hard to interpolate so the quality of such values is questionable!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lasinludwig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants