`open_grid` on large SCRIP grids OOMs: corner dedup ignores `chunks=`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- numpy, python
- Domain
- data, performance
Research direction
Read _to_ugrid and the SCRIP reader path first, then trace how chunks= is handled. Done means large SCRIP grids no longer require the full corner table in memory and the 63 GB CONUS-RRM case can open without OOM.
Written by the indexing model from the issue text.
Description
- SCRIP stores one (lon, lat) per face-corner, so the corner table is n_face × n_corners rows.
_to_ugriddedups it with Polars, which needs the whole table resident: 53.6 GiB of float64 for a 300M-element np4 grid, before the join copy.- The reader never dispatches on
chunks=, so large SCRIP files OOM no matter how they're opened. - This blocks the 63 GB CONUS-RRM np4 grid served through the uxarray-mcp-server, which already passes
chunks="auto"and still OOMs on the worker.
- Dominant language
- Python
- Stars
- 228
- Forks
- 55
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 13
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 UXARRAY/uxarray
-
developer experience
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
new feature visualization
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100