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

Delete local context directories on exit #524

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

tomwhite
Copy link
Member

Fixes #512

This clears the context directory (containing intermediate Zarr arrays) when Python exits. This could be improved later to delete the arrays at the end of the computation, or even as it progresses.

@tomwhite tomwhite merged commit debb1d8 into main Jul 30, 2024
10 checks passed
@tomwhite tomwhite deleted the delete-context-dir-on-exit branch July 30, 2024 15:08
thodson-usgs pushed a commit to thodson-usgs/cubed that referenced this pull request Oct 24, 2024
tomwhite added a commit that referenced this pull request Nov 22, 2024
tomwhite added a commit that referenced this pull request Nov 24, 2024
* Remove unused link

* Remove optional dependency include as it needs re-organising/simplifying

* Update storage page to take account of change in #524 (deleting local intermediate data)

* Update memory page to clarify example about setting allowed_mem for local executors

* Improve documentation for setting Zarr compression for intermediate data following #572

* Add separate articles link
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.

Automatically delete intermediate files on local filesystems
1 participant