Unify the netCDF and Zarr cube-building loops, and the mesh format dispatch
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Read iris.fileformats.netcdf.loader.load_cubes, iris.fileformats.zarr.loader.load_cubes, and iris.fileformats.netcdf.ugrid_load.load_meshes, then review section 5 of docs/superpowers/specs/2026-09-21-zarr-io-design.md. Compare the shared loader bodies and the mesh format dispatch; use the existing loader tests to check both formats. Done when the shared loop is unified, the dispatch is removed, and both load_cubes signatures remain unchanged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
(posted by Claude Opus)
iris.fileformats.netcdf.loader.load_cubes and iris.fileformats.zarr.loader.load_cubes now have the same body. They differ only in how the dataset is opened: one builds a NetCDFDataset, the other a ZarrDataset, and everything after that — the CF reader, the mesh handling, the cube loop, the callback — is the same code written twice.
iris.fileformats.netcdf.ugrid_load.load_meshes carries a third copy of the problem, as a format dispatch that compares the handler against nc_loader.load_cubes and _load_zarr to decide what to open. That comparison is the only reason a netCDF-named module names Zarr at all; the mesh code it shares with the Zarr loader names no format whatsoever. A TODO in that function points here.
Unifying the loop would remove the dispatch with it. Neither load_cubes signature moves, so this is internal.
Raised at the merge-back of the native Zarr programme rather than when it was found, so that nobody started on it while that programme's pull requests were in flight and depending on each other. Found by @pp-mo reviewing https://github.com/SciTools/iris/pull/7336. See section 5 of docs/superpowers/specs/2026-09-21-zarr-io-design.md.
- Lingua principale
- Python
- Stelle
- 730
- Fork
- 323
- Merge medio
- 3g 21h
- PR unite (30g)
- 16
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SciTools/iris
-
Link Checker ReportForse già presa @stephenworsley l’ha presa 12 giorni fa. ApertaBot Type: Bug Type: Documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
SciTools/iris#7368 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
guess_bounds(yearly=True) fails on a single point, monthly=True worksForse già presa @pp-mo l’ha presa 47 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
SciTools/iris#7311 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Agentic
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SciTools/iris
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
[Maintainer] task area:visualizer
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
RailtownAI/railtracks#1824 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
apache/datafusion#27688 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
heasarc/heasarc-tutorials#317 ·
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
mloda-ai/mloda-registry#1664 ·
I maintainer di solito rispondono entro 1 giorno