astropy / astropy/reproject

Reproject in multiprocessing

Open
#259 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
127
Forks
74
Avg merge
1d 11h
Merged PRs (30d)
2

Description

In my code, I have several images to reproject to a certain WCS. So I want to using multiprocessing pool to accelerate this procedure.
I pass the CCDData and target WCS to a function and it returns a new CCDData to main thread.
The problem is the program is always stuck at the last few images. When I commented out the reproject_interp all thing run good.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with a minimal multiprocessing pool reproducer using several CCDData images, a target WCS, and reproject_interp. Compare the run with and without reproject_interp, then inspect where the final workers stop responding. Done means the hang is reproduced and its triggering conditions or cause are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.