[FEATURE] - Add option to ``cleanup`` to write away grids where cleaning happened

Aperta
#1,976 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python
Ambito
data

Direzione di ricerca

The payload names no files; the starting point is the cleanup function in imod-python, whose docstring lists what it cleans. Read how it modifies grids in place, then settle the open questions in the issue: where output goes, whether the option is a function argument or global configuration, and what values to record. Done means maintainers have agreed on that design and a follow-up change is scoped, since the issue itself is not yet a code task.

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

Descrizione

enhancement

Right now the cleanup is a magic function with a good docstring of what it is supposed to clean, but it cleans inplace and it doesn't do any keeping of values that have been changed. This makes it still opaque to users what is actually happening.

After a discussion with @emorway-usgs at the Delft Software Days, we discussed that it would be nice to have the option to let iMOD Python write away some grids/tables with the location of cells that have been changed.

Questions to refine:

  • Where should the data be stored? Or should this be user configurable?
  • Should there be a flag somewhere as an argument, or should it be a global configuration somewhere?
  • What values are we going to write away? Differences? An integer code with that indicates what has changed?
  • We should preserve package and variable names in some way
Lingua principale
Python
Stelle
41
Fork
12
Merge medio
2g 8h
PR unite (30g)
13

Preparare l'ambiente

  • Nessun Dockerfile né 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 Deltares/imod-python

Tutte le issue di Deltares/imod-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.