Deltares / Deltares/imod-python

Using the "frequency" option with the OC package causes data not to be written to CBC file.

Open
#1,037 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I got a report from @tessodk that using:

gwf_model["oc"] = imod.mf6.OutputControl(save_head="last", save_budget=6)

Leads to no output being written to file, even thought the OC file seems to look alright:

image

Also NPF is written correctly:

image

Confirmed to not work on both the 6.4.2 and 6.4.4 version.

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 by reproducing the issue with the shown OutputControl configuration on the reported MODFLOW versions, then compare the generated OC and CBC output with the working NPF output. Done means CBC data is written when the frequency option is used; no source files or tests are identified in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.