Skip to content

Chunking: Loading the entire input / output cube onto memory#162

Merged
Cameron-Van-Eck merged 5 commits intoCIRADA-Tools:masterfrom
jackieykma:master
Dec 8, 2025
Merged

Chunking: Loading the entire input / output cube onto memory#162
Cameron-Van-Eck merged 5 commits intoCIRADA-Tools:masterfrom
jackieykma:master

Conversation

@jackieykma
Copy link
Copy Markdown
Contributor

The current behaviour of chunking is that, the complete input / output cube is not loaded onto memory (via memmap = True)

This probably makes sense for many cases (where cube size > memory available).

However, for many cases the amount of memory available may actually be enough to hold the entire cube.

For such cases, loading in the entire cube onto memory can lead to significant speed up (>> factor of 10 in speed)

It may be worthwhile having this (memmap = False) as an option to users (of course, keeping the current memmap = True as the default behaviour)

@Cameron-Van-Eck Cameron-Van-Eck merged commit 3419b2c into CIRADA-Tools:master Dec 8, 2025
7 checks passed
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.

2 participants