Skip to content

Problem with loading STR package for a mfusg model #1295

@hjia1005

Description

@hjia1005

All other packages are loaded successfully except STR. The following error message was displayed:

v = [tt(vv) for tt, vv in zip(type6, t)]
ValueError: invalid literal for int() with base 10: 14347.4667 - which is supposed to be the Flow.

Then I checked the file mfstr.py, seems Flopy failed to recognize this is an unstructured grid type for this package, but it load other packages. It expects a type6 input for structured grid but this is a usg model.
type6 = [
np.int32,
np.int32,
np.int32,
np.int32,
np.int32,
np.float32,
np.float32,
np.float32,
np.float32,
np.float32,
]
Any help will be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions