HFB writing is very slow when read from dump.toml
Mantenedores costumam responder em até 2 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 57/100
Direção de pesquisa
Start by running the attached test_hfb_rewriting.py example with imod 1.1.0 and compare HFB write times for a freshly created model and one reloaded with Modflow6Simulation.from_file(). Trace how the HFB package is loaded from dump.toml and written by simulation.write(); the issue is resolved when writing the reloaded model no longer slows progressively with larger models.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Dear developers,
I am creating a model including a hfb-package > saving that using simulation.dump() >opening that dump later via the imod.mf6.Modflow6Simulation.from_file() function > changing a package > rewriting the model to modflow files using simulation.write().
In this writing (when loaded from dump) statements, the writing is very slow on the hfb package. There is no issue when writing/dumping it directly when creating the model, only after loading from dump toml. The issue seems to get progressively worse for larger models. I tried computing the reloaded hfb before writing, but that did not seem to change it.
Attached is a small working example.
Running on imod 1.1.0.
Teun
- Linguagem predominante
- Python
- Estrelas
- 41
- Forks
- 12
- Merge médio
- 2d 8h
- PRs com merge (30d)
- 13
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Deltares/imod-python
-
backwards_compatibility enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 69/100
Deltares/imod-python#1963 · 2 comentários ·
Mantenedores costumam responder em até 2 dias
-
bug Deltares
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Deltares/imod-python#1950 ·
Mantenedores costumam responder em até 2 dias
-
Deltares enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Deltares/imod-python#1843 ·
Mantenedores costumam responder em até 2 dias
-
documentation
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
Deltares/imod-python#1684 ·
Mantenedores costumam responder em até 2 dias
-
Bugs found in a code review of master (6f0ec0bc)Talvez já em andamento @JoerivanEngelen assumiu há 8 dias. Aberta
Deltares/imod-python#1980 · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 2 dias
Todas as issues de Deltares/imod-python
Issues semelhantes
-
docs(contributing): the two things that silently block a PRTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaavailable documentation good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 95/100
Nixitov/Riptide-Native#944 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
JTHCode/secretguard#24 ·
Mantenedores costumam responder em até 1 dia
-
area: middleware documentation good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
good first issue
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 95/100
omarelshamy25x/shamy-hijri#63 ·
Mantenedores costumam responder em até 1 dia