Multi-dimensional lookup tables must be passed to ExtraCoords in world order
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
The issue identifies ExtraCoords.add_coordinate and the LookupTableCoord layer; first read the linked pull request discussion and trace how multidimensional lookup_table values relate to NDCube data order. Done means callers can provide lookup tables in data-array order while the resulting coordinates remain in world order, with existing coordinate behavior preserved.
Written by the indexing model from the issue text.
Description
This is following on from https://github.com/sunpy/ndcube/pull/327#discussion_r526960030. Due to perfectly sensible design decisions in the LookupTableCoord layer of the new ExtraCoords stack, currently when calling ExtraCoords.add_coordinate is called the lookup_table argument must be in world order if it is multi-dimensional, i.e transposed with respect to the NDCube data array.
We probably want to change this to automatically transpose, but doing that in the add_coordinate method is a little fiddily and needs some thought.
- 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