Skip to content

SSM package mtssm.py: raise error when there is no concentration data for the first stress period. #674

@flydream0428

Description

@flydream0428

An error message will be raised when there is no data for the first stress period in the stress_peiod_data for the SSM package. For example, if we change all the ssm_dat[0] to ssm_dat[1] in the notebook example in the repository, (https://github.com/modflowpy/flopy/blob/develop/examples/Notebooks/flopy3_multi-component_SSM.ipynb). A key error will be encountered.

If I manually add data such as ssm_dat[0] = 0, then a "no itype" error will be raised.

The set-up on INCRCH and INCRCH also doesn't make sense to me. For the example above, the first few lines of the ssm file is:

T F T F F T F F F F F F F F F F
202
1
0 0 -1 #crch11
0 0 -1 #crch21
102 0 # stress period 1

What is the second 0 and -1 in line 4 and 5? I cannot find their definition in the MT3D-USGS manual/

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