nd: add coordinate and order metadata to Dimensions

Aperta
#445 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
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start with nd/dimensions.rs to see how dimensions are represented, then trace the netCDF and Zarr reader scan paths that create them. Check how those readers identify coordinate columns and monotonic direction; the issue calls out N_PROF as having no order. Done means both readers populate the optional metadata and tests cover increasing, decreasing, and absent or nonmonotone coordinates.

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

Descrizione

effort-M enhancement nd-pipeline phase-1-foundations shape-grid shape-profile

Part of #442. Phase 1. Shape: both; grid files gain most. Effort: M.

Why

Reduce, align, and sort elision must know two facts for each axis.
Which column supplies the axis values.
Whether the values rise, fall, or have no order.
Dimensions holds only a name and a size.

What

Add optional metadata to each axis: the coordinate column and the monotone direction.
The reader fills the metadata at scan time.
A profile axis such as N_PROF reports no order.

Tasks

  • Add the fields to nd/dimensions.rs.
  • Fill the fields in the netCDF and Zarr readers.
  • Report no order when a coordinate is absent or not monotone.
  • Test both directions and the no-order case.
Lingua principale
Rust
Stelle
16
Fork
4
Merge medio
19h 58m
PR unite (30g)
39

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 maris-development/beacon

Tutte le issue di maris-development/beacon

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.