-
Notifications
You must be signed in to change notification settings - Fork 15
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
Memory-handling for feathering large cubes #34
Conversation
@keflavich -- This is ready for a first review. VaryingRes cubes aren't handle yet, and there's a couple places where the memory handling might break (needing to reproject the SD cube). But the critical tests pass and it's in good enough shape to start stress-testing locally. |
docs/feathering_cubes.rst
Outdated
expensive, the spectral-cube dask integration exposes an option to save temporary | ||
intermediate products as zarr files. This is especially useful when rechunking the | ||
data to optimize different computations (e.g., spectral versus spatial regridding.) | ||
To enable this mode, `use_save_to_tmp_dir` can be enabled in `~uvcombine.feather_simple_cube`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To enable this mode, `use_save_to_tmp_dir` can be enabled in `~uvcombine.feather_simple_cube`. | |
To enable this mode, [`use_save_to_tmp_dir`](https://spectral-cube.readthedocs.io/en/latest/dask.html#saving-intermediate-results-to-disk) can be enabled in `~uvcombine.feather_simple_cube`. |
or... how do you do it with intersphinx? I can't remember. Argh.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think I've fixed this now...
…g need to repeat here
…sk operations yet
@keflavich -- Added some more checks and such. I think this is feature complete now and is at least running on ~few GB cubes for feathering, w/ and w/o dask. Dask VRSC isn't handled yet. I think that should be revisited later to get these adds wrapped up. |
Continuation of #25.