JuliaAstro / JuliaAstro/ASDF.jl
Negative strides
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 23
- Forks
- 9
- Avg merge
- 17h 12m
- Merged PRs (30d)
- 3
Description
Just saving here, will clean up later:
Negative strides: the constructor rejects strides < 0, which the ndarray-1.0.0 schema explicitly permits (minimum: 1 / maximum: -1 anyOf) and which Python asdf writes for reversed views (arr[::-1] --> strides: [-8]). Would be good to accept these too (non-C-contiguous view support)
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by tracing the constructor validation that rejects strides below zero, then compare it with the ndarray-1.0.0 schema and the Python ASDF example for arr[::-1]. Done means negative strides are accepted for reversed, non-C-contiguous views without breaking existing stride handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100