Deltares / Deltares/imod-python

[FEATURE] - 'Open' MF6sim after running to facilitate access to functions like open_head and the like

Open
#1,838 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Deltares enhancement
Dominant language
Python
Stars
41
Forks
12
Avg merge
21h 8m
Merged PRs (30d)
1

Description

For large (mf6) models it is inconvenient to run them using the .run() function of MF6 (too risky within a script, preference to run on a different computer than generating input etc). That means that the .open_head etc functions cannot be used, and the low-level functions must be used.

Describe the solution you'd like
I'd like to have a light way of opening a mf6sim object after (different script) the model has been run, so the open_head etc functions are easily available. Like a .from_file, with an additional 'rundir' argument or something. But preferably without much reading input data overhead, just what is necessary (dis?). And allowing for parallel calculations.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the MF6sim .run() and .open_head entry points, then trace how a separately run model could be reopened through a .from_file-style path with a rundir. Done means an MF6sim object can access .open_head and similar functions without unnecessary input-reading overhead, including when parallel calculations are used.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.