[Bug] - MetaSwapModel dump loses PrecipitationMapping.meteo
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 50/100
Línea de trabajo
Start by reproducing the loss: build a MetaSwapModel, call its dump() method, reload it with from_file(), then inspect the reloaded PrecipitationMapping and the prec_mapping.nc file it wrote, which the report says is empty. Compare how the meteo reference is written and read back in the serialization path. Done means the reloaded PrecipitationMapping has its meteo attribute and the dump-and-reload round trip works without an AttributeError.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When dumping and reloading a MetaSwapModel, the resulting PrecipitationMapping object has no meteo attribute:
AttributeError: 'PrecipitationMapping' object has no attribute 'meteo'
This occurs with MetaSwapModel.dump() followed by MetaSwapModel.from_file(). The original model works correctly before dumping.
The prec_mapping.nc file is empty, so the meteorological grid reference appears not to be preserved during serialization. The reloaded model should restore the meteo attribut
- Lenguaje dominante
- Python
- Estrellas
- 41
- Forks
- 10
- Merge medio
- 2 d 23 h
- PR fusionados (30 d)
- 15
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 68/100
Deltares/imod-python#1940 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
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 1 día
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Deltares/imod-python#1684 ·
Los mantenedores suelen responder en 1 día
-
Update certifiPosiblemente ocupada @JoerivanEngelen la tomó hoy. Abierto
Deltares/imod-python#1946 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Deltares enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Deltares/imod-python#1927 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Deltares/imod-python
Issues similares
-
good first issue priority: low size: XS testing
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
cubrid-lab/cubrid-mcp-server#385 ·
Los mantenedores suelen responder en 1 día
-
good first issue priority: low size: S testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
cubrid-lab/cubrid-cookbook-python#447 ·
Los mantenedores suelen responder en 1 día
-
Python PointcloudAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ArduCAM/Arducam_tof_camera#125 ·
-
area:curator enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
CassioDalla/Scrinalia#150 ·
Los mantenedores suelen responder en 1 día
-
Tutorial notebook: Find the leakAbiertodocumentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100