Skip to content

Cannot open mf6 simulation with a space in the TDIS package file name #1236

@tim-mitchell

Description

@tim-mitchell

Importing the attached modflow model fails.
MODFLOW 6 DISV - 1.zip
using flopy.mf6.MFSimulation.load(sim_ws=r'D:\Modflow\MODFLOW 6 DISV - 1')

In MFSimulation.register_package the name_file tdis attribute is set to package.filename
flopy/mf6/modflow/mfsimulation.py:1822
However the MFScalar.set_data method splits the string and keeps the last part
flopy/mf6/data/mfdatascalar.py:168

Metadata

Metadata

Assignees

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