Reproject NDCubeSequence to NDCube
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start at the NDCubeSequence API and inspect NDCube.resample from issue #429. Implement the requested operation using the first cube's WCS, stacking reprojected arrays with a leading dimension and adding a pixel-based axis. Done means a new (n+1)-D NDCube is returned with only the stacked data and new WCS.
Written by the indexing model from the issue text.
Description
Description
Create a method on NDCubeSequence that:
- Uses
NDCube.resample(#429) reprojects eachNDCubein the sequence to the WCS of the firstNDCube; - Stacks the data arrays along an additional 0th array dimension
- Generates a new WCS that adds an initial array axis to the WCS of the first cube. Let this new axis simply be in pixel units. A later issue can generate physical coordinates for this axis based on user input of cube global_coords.
- Returns a new (n+1)-D
NDCubeusing the just the reprojected and stacked data array and the newly generated WCS object. Drop all other information to start with.
- Dominant language
- Python
- Stars
- 49
- Forks
- 56
- Avg merge
- 5h 54m
- Merged PRs (30d)
- 9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sunpy/ndcube
-
Bug
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Feature Request
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Feature Request
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100