Clean up ``util`` module, move internal utilities to ``imod.common.utilities``
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start by reading imod.util and the listed modules: dims, expand_repetitions, imports, nested_dict, regrid, time, and path, then search their usages. Determine which developer utilities belong in imod.common.utilities while keeping the public namespaces for functions that are still API; done means internal utilities are relocated without breaking those namespaces.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The util module is a legacy utility module, also containing some convenience functions that are public API. These are still used every-so-often, and some of them are very useful (e.g. empty_2d).
Over the past years, we've created a lot more internal utility functions, which are grouped in imod.common.utilities, or imod.msw.utilities/imod.mf6.utilities if they are tailored to these kernels.
However, developer utilities have landed in imod.util, partly because I was being sloppy myself (possibly to work around some circular dependencies):
imod.util.dimsimod.util.expand_repetitionsimod.util.importsimod.util.nested_dict
I think it is better to move these dev utilities into imod.common.utilities. Modules that can possible moved as well:
imod.util.regridimod.util.timeimod.util.path
Though these contain some minor parts of the public API, so the namespaces of these utils need to remain available.
- Lenguaje dominante
- Python
- Estrellas
- 41
- Forks
- 10
- Merge medio
- 3 d 1 h
- PR fusionados (30 d)
- 14
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Deltares/imod-python
-
bug Deltares
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Deltares/imod-python#1950 ·
Los mantenedores suelen responder en 2 días
-
backwards_compatibility bug Deltares
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Deltares/imod-python#1940 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Deltares enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Deltares/imod-python#1843 ·
Los mantenedores suelen responder en 2 días
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Deltares/imod-python#1684 ·
Los mantenedores suelen responder en 2 días
-
backwards_compatibility bug Deltares
Dificultad 3/5 Medio día Aptitud para principiantes 50/100
Deltares/imod-python#1939 · 1 comentario ·
Los mantenedores suelen responder en 2 días
Todos los issues de Deltares/imod-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
microsoft/agent-lightning#661 ·
Los mantenedores suelen responder en 2 días
-
area/profiles comp/cli P3 type/feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
NousResearch/hermes-agent#146372 ·
Los mantenedores suelen responder en 1 día
-
[BUG] OpenAI-compatible embedding model alias breaks embedder constructionPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
[oblt-aw][autodoc] Document obs-aw-automerge contract and fix automerge doc inconsistenciesPosiblemente ocupada @github-actions la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
GeoSeries scale and skew tests fail with pytest 9.2.0Posiblemente ocupada @jiayuasu la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día