Spawn many small reprojection tasks #41
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This initial commit begins to assemble a workflow that will generate many small reprojection tasks that each ingest a single workunit shard for reprojection. This allows a task to use only 1 cpu and a small amount of memory instead of 32+ cpus and a large amount of memory.
A separate workflow has been created to support this approach in the file
parallel_repro_single_chip_wf.py
. It makes use of a simplified reprojection, specifically using astropy'sreproject_adaptive
. This approach is likely fine for the single night, single chip scenario, but is not generally correct in the case of either multiple chips, or images with identical timestamps.