Skip to content

difficulty building example model from scratch #31

@wkitlasten

Description

@wkitlasten

Shouldn't it be possible to build the example "pleasant" model with no pre-existing model files in examples/data/pleasant? From the docs, I thought modflow-setup would build the entire model from the yml and supporting "source data", but I'm failing. Is there a list of required model files that need to be in examples/data/pleasant before modflow-setup will work?

For example, if I remove examples/data/pleasant/pleasant.sfr the build fails with the following, despite having an sfr block in the yml. I get a similar failure if I remove .rch, .chd, .nam, etc. So perhaps I am failing to understand something fundamental about the process?

mf6model.py in __init__(self, simulation, parent, cfg, modelname, exe_name, version, lgr, **kwargs)
     87         self.model_ws = self._get_model_ws(cfg=cfg)
     88         # update defaults with user-specified config. (loaded above)
---> 89         self._set_cfg(cfg)   # set up the model configuration dictionary

Edit: I now see the dependency on the regional model in the "parent" block (of pleasent_lgr_parent.yml... so parent of the parent?). So, now I am trying to build the original "parent" model with no dependency on any existing model files. If an example using modflow-setup already exists that would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions