Skip to content

bug: failure to load mf6 test models #2053

Description

@wpbonelli

Describe the bug
FloPy fails to load several MF6 models from the test models repository:

  • test001a_Tharmonic_tabs
flopy.mf6.mfbase.MFDataException: An error occurred in data element "perioddata" package "flow15.tdis". The error occurred while loading data list from package file in the "read_list_data_from_file" method.
Additional Information:
(1) Data "perioddata" with value "1.00000000,1,1.00000000" can not be converted to float.
(2) Unable to process line 1 of data list: "                        1.00000000,1,1.00000000                                         Items:  PERLEN  NSTP    TSMULT
  • test004_bcfss
flopy.mf6.mfbase.MFDataException: An error occurred in data element "icelltype" model "gwf_1" package "npf". The error occurred while reading data from file <truncated path>/bcf2ss.npf in the "_load_layer" method.
  • test014_NWTP3Low_dev
flopy.mf6.mfbase.MFDataException: An error occurred in data element "dev_minimum_saturated_thickness" model "gwf_1" package "npf". The error occurred while converting data to string in the "load_from_package" method.
Additional Information:
(1) Data "dev_minimum_saturated_thickness" with value "1D-9" can not be converted to float.
(2) Could not convert "1D-9" of type "DatumType.double_precision" to a string
  • test041_flowdivert_nwt_dev
flopy.mf6.mfbase.MFDataException: An error occurred in data element "dev_minimum_saturated_thickness" model "gwf_1" package "npf". The error occurred while converting data to string in the "load_from_package" method.
Additional Information:
(1) Data "dev_minimum_saturated_thickness" with value "1D-9" can not be converted to float.
(2) Could not convert "1D-9" of type "DatumType.double_precision" to a string.

To Reproduce

E.g. MFSimulation.load(sim_ws="path/to/simulation/directory")

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions