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

Ouverte
#1,976 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 2 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
12/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active
Stack technique
python
Domaine
data

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
Python
Étoiles
41
Forks
12
Merge moyen
2 j 8 h
PR mergées (30 j)
13

Préparer son environnement

  • Aucun Dockerfile ni fichier Docker Compose
  • Propose un modèle de pull request
  • Aucun guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Deltares/imod-python

Toutes les issues de Deltares/imod-python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.