Problems with Zarr handling of character/string data

Abierto
#7,370 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
numpy, python
Área
data

Línea de trabajo

Start by reading the linked issues #7371, #7372, and #7374, plus #7092, to understand the separate character data failures across netCDF4 and Zarr. Then trace the relevant load and save paths for character and string arrays in Iris. Done means the reported data can round-trip between netCDF4 and Zarr with the expected masking and NumPy dtype.

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

Descripción

@mo-DanCubbon reported difficulties translating data between Zarr and netCDF4 formats.
A bunch of individual difficulties emerged:

  1. lazy character data loaded from netCDF always appears masked
    - which will not save to Zarr
  2. "normal" fixed-width character data is currently saved as an "ordinary" (i.e. variable-width) Zarr string array
  3. so, this data loads back as variable-length strings, which then can't be written back to netCDF (see #7092)
  4. at present, this type of data is also loading with an unexpected numpy dtype

so,

  • we can't load this type of data from netCFD4 + save it to Zarr,
  • neither can we load it from Zarr and save to netCDF4
Lenguaje dominante
Python
Estrellas
730
Forks
323
Merge medio
3 d 21 h
PR fusionados (30 d)
16

Preparar el entorno

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 SciTools/iris

Todos los issues de SciTools/iris

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.