simonsobs / simonsobs/sotodlib
get_obs(meta=meta, samples=something) complains
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 19
- Forks
- 23
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 14
Description
It should be allowed to restrict the load, using samples, as long as the range is a subset of meta.samps.
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 at sotodlib/core/context.py around line 423 and trace how get_obs handles meta and samples. Reproduce the complaint with a samples range that is a subset of meta.samps; the fix is done when that restricted load is accepted without error while invalid ranges remain rejected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-engineering
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100