Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stgrid can be a list #2

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Stgrid can be a list #2

merged 3 commits into from
Dec 3, 2024

Conversation

AlexDo1
Copy link
Owner

@AlexDo1 AlexDo1 commented Dec 3, 2024

stgrid can now be a list of stgrids. I implemented this, as I cannot pass very large stgrids such as RADKLIM to the Processor without running out of memory. Now I can pass e.g. yearly xarray Datasets to the processor and process them one after the other, resulting in longer computation time, fragmented outputs (one clipped and aggregated file for each area and each stgrid, results have to be merged by the user) but also less / configurable memory usage.

…nd custom filenames for output. Refactor initialization and clip_and_aggregate methods for improved functionality and error handling.
@AlexDo1 AlexDo1 merged commit 2e35272 into main Dec 3, 2024
7 checks passed
@AlexDo1 AlexDo1 deleted the stgrid_list branch December 3, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant