Skip to content

OC package written even if not part of model #230

@mjreno

Description

@mjreno

Version: Commit d50342f
Recreate:

  • comment out OC package in quickstart test_component.py test and then run the test
#oc = Oc(
#    parent=gwf,
#   budget_file=f"{gwf_name}.bud",
#    head_file=f"{gwf_name}.hds",
#    save_head=["all"],
#   save_budget=["all"],
#)

Result mymodel.oc:

BEGIN OPTIONS
END OPTIONS

BEGIN PERIOD
END PERIOD

Result mymodel.nam:

BEGIN PACKAGES
 DIS6 mymodel.dis dis
 IC6 mymodel.ic ic
 OC6 mymodel.oc oc
 NPF6 mymodel.npf npf
 CHD6 mymodel.chd chd0


END PACKAGES

BEGIN OPTIONS
END OPTIONS

Test fails when OC package is read for stress period 1. Note also trailing OPTIONS block in name file- maybe this is a separate issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IORelated to loading/writing input/output filesbackendRelated to the in-memory data model/storebugSomething isn't workingrequirementCore requirement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions