Unify the netCDF and Zarr cube-building loops, and the mesh format dispatch
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
(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.
- Lenguaje dominante
- Python
- Estrellas
- 730
- Forks
- 323
- Merge medio
- 3 d 21 h
- PR fusionados (30 d)
- 16
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SciTools/iris
-
Link Checker ReportPosiblemente ocupada @stephenworsley la tomó hace 12 días. AbiertoBot Type: Bug Type: Documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
SciTools/iris#7368 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
guess_bounds(yearly=True) fails on a single point, monthly=True worksPosiblemente ocupada @pp-mo la tomó hace 47 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
SciTools/iris#7311 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Agentic
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
Todos los issues de SciTools/iris
Issues similares
-
flaky: test_fire_returns_thread_per_http_entry_on_head waits 5 s per dispatch worker on busy shardsAbiertostatus/accepted type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
microsoft/apm#5309 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug vector-store
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
EverMind-AI/Raven#1413 ·
Los mantenedores suelen responder en 1 día
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS poolsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
ACCESS-NRI/containerised-environments-infra#143 ·
Los mantenedores suelen responder en 2 días