Problems with Zarr handling of character/string data

Aperta
#7,370 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
numpy, python
Ambito
data

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

@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
Lingua principale
Python
Stelle
730
Fork
323
Merge medio
3g 21h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SciTools/iris

Tutte le issue di SciTools/iris

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.