Investigate and either fix or quell zarr.zip warnings

Abierto
#1,707 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
data

Línea de trabajo

Empieza revisando el pull request #1706 y la documentación enlazada de Zarr ZipStore. Reproduce las advertencias de objetos duplicados y la UnstableSpecificationWarning; después, determina si la alineación de chunks u otro enfoque documentado las resuelve. Se considera terminado cuando las advertencias se hayan resuelto o una decisión clara explique por qué se suprimen o se mantienen.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

https://github.com/Deltares/imod-python/pull/1706 implements support for zarr and zarr.zip. The latter however gives quite some warnings about duplicate objects, which are indeed created:

Alt text

There is some documentation on this: https://zarr.readthedocs.io/en/v2.15.0/api/storage.html#zarr.storage.ZipStore
We have to see if we can align chunks in some way to avoid this warning.

@Manangka also got the following warning which requires some investigation:

UnstableSpecificationWarning: The data type (FixedLengthUTF32(length=4, endianness='little')) does not have a Zarr V3 specification. That means that the representation of arrays saved with this data type may change without warning in a future version of Zarr Python. Arrays stored with this data type may be unreadable by other Zarr libraries. Use this data type at your own risk! Check https://github.com/zarr-developers/zarr-extensions/tree/main/data-types for the status of data type specifications for Zarr V3.
v3_unstable_dtype_warning(self)

Lenguaje dominante
Python
Estrellas
41
Forks
12
Merge medio
2 d 8 h
PR fusionados (30 d)
13

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Deltares/imod-python

Todos los issues de Deltares/imod-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.