Skip to content

Comments

t.rast.aggregate.condition: implement moving window, refactor, ruff#74

Merged
ninsbl merged 5 commits intomainfrom
aggregate_condition_buffer
Mar 12, 2025
Merged

t.rast.aggregate.condition: implement moving window, refactor, ruff#74
ninsbl merged 5 commits intomainfrom
aggregate_condition_buffer

Conversation

@ninsbl
Copy link
Collaborator

@ninsbl ninsbl commented Feb 11, 2025

It is now possible to aggregate using a moving window ("temporal_bufer") and to define the placement of the moving window ("temporal_offset") in realtion to each time step ("granularity").

Two paragraphs and an example added in the manulal...

We should add a unit-test at some point...

@ninsbl ninsbl added the enhancement New feature or request label Feb 11, 2025
@ninsbl ninsbl requested a review from widforss February 11, 2025 10:20
@ninsbl
Copy link
Collaborator Author

ninsbl commented Feb 12, 2025

There is now a flag to make sure that only covered granules (temporal aggregation units) are processed. The module should be fairly ready for usage now.
In future we may consider makng mask and condition optional (so that either mask, condition or both can be used, making the module more versatile...

@widforss You do not have to review the changes, just in case you are interested...

@ninsbl ninsbl merged commit c5d2e07 into main Mar 12, 2025
12 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant