ioos / ioos/xarray-subset-grid
Subsetting roms grids removes needed 3d variables
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9
- Forks
- 11
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 4
Description
What went wrong?
When I use ds.xsg.subset_bbox not all the data_vars make it through intact. The ones I needed were Cs_r and Cs_w
Operating System
Windows
Version
unsure
Python Version
3.10.18
Code to Reproduce
ds = ds.xsg.subset_bbox(bounds)
look at ds.data_vars before and after
Errors, Traceback, and Logs
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.
Research direction
Start at the ds.xsg.subset_bbox entry point and reproduce the issue by comparing ds.data_vars before and after subsetting. Focus on whether Cs_r and Cs_w are preserved, and confirm that the resulting dataset retains both variables.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100