Skip to content

t.rast.accumulate, t.rast.accdetect: Fix hang on cycles without maps - #8061

Merged
petrasovaa merged 3 commits into
OSGeo:mainfrom
saket0187:t-rast-acc-empty-cycle-hang
Oct 15, 2026
Merged

petrasovaa merged 3 commits into
OSGeo:mainfrom
saket0187:t-rast-acc-empty-cycle-hang

Conversation

@saket0187

Copy link
Copy Markdown
Contributor

This PR just handles a rare case in t.rast.accumulate and t.rast.accdetect: a cycle with no maps, such as a start before the data or a gap of a whole cycle, made the tools repeat that cycle forever. The empty cycle is now skipped and processing moves on to the next one; runs without empty cycles are unchanged.

@github-actions github-actions Bot added temporal Related to temporal data processing Python Related code is in Python module labels Oct 13, 2026
ninsbl
ninsbl previously approved these changes Oct 13, 2026
@petrasovaa
petrasovaa self-requested a review October 14, 2026 02:41
Comment thread temporal/t.rast.accumulate/t.rast.accumulate.py
Comment thread temporal/t.rast.accdetect/t.rast.accdetect.py Outdated
@petrasovaa
petrasovaa merged commit a2af333 into OSGeo:main Oct 15, 2026
26 checks passed
@github-actions github-actions Bot added this to the 8.6.0 milestone Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module Python Related code is in Python temporal Related to temporal data processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants