Skip to content

t.rast.list: allow method gran with where option - #7678

Merged
ninsbl merged 10 commits into
OSGeo:mainfrom
ninsbl:t_rast_list_gran
Jul 15, 2026
Merged

ninsbl merged 10 commits into
OSGeo:mainfrom
ninsbl:t_rast_list_gran

Conversation

@ninsbl

@ninsbl ninsbl commented Jul 13, 2026 •

Copy link
Copy Markdown
Member

This is a step towards solving #7344 with tools instead of the API.
There did not seem to be a technical requirement to not allow a where clause with the gran method. This PR enables it.
pytests are add and all tests moved to Tools API.

@ninsbl
ninsbl requested a review from petrasovaa July 13, 2026 07:13
@github-actions github-actions Bot added temporal Related to temporal data processing Python Related code is in Python libraries module tests Related to Test Suite labels Jul 13, 2026
ninsbl and others added 3 commits July 13, 2026 11:03
Co-authored-by: SAKET KUMAR MALL <72020337+saket0187@users.noreply.github.com>
@echoix

echoix commented Jul 14, 2026

Copy link
Copy Markdown
Member

Come see me or Vashek when ready to merge; the missing job would only be available if all CI is rerun after merging main, but it looks fine just like this.

@petrasovaa petrasovaa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks like the where condition is not actual tested, no?

@ninsbl

ninsbl commented Jul 15, 2026

Copy link
Copy Markdown
Member Author

It looks like the where condition is not actual tested, no?

I guess it was, but not properly with "where=True". Changed that to a real temporal where and adjusted the expected return accordingly.

@ninsbl
ninsbl enabled auto-merge (squash) July 15, 2026 14:10
@ninsbl
ninsbl merged commit 57968d6 into OSGeo:main Jul 15, 2026
25 checks passed
@github-actions github-actions Bot added this to the 8.6.0 milestone Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libraries module Python Related code is in Python temporal Related to temporal data processing tests Related to Test Suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants