Repository navigation
Version 3.12.0
Support for MF6.8.2 plus bugfixes, enhancements, and some bumped dependencies.
Dependency changes
Following SPEC 0:
- Python 3.11 has been dropped, supported versions are 3.12-3.14
- the minimum
numpyis now 2.2.0 - the minimum
pandasis now 2.3.0
MF6 data model changes
Usually a FloPy release is not made for MF6 patch releases, as MF6 aims to follow semantic versioning. MF6.8.2's definition files include certain corrections, however, that change FloPy's behavior, but should not be breaking:
- Stress period data values for LAK, SFR, UZF, LKT, SFT, MWT, UZT, LKE, SFE, MWE, UZE, SPC, TVK and TVS, and the SFR
packagedataManning's roughness (man), are now defined as floating-point numbers. Time-series names are still accepted wherever they were before. When loading a model, numbers in these fields now becomefloatinstead ofstr. (While it seems unlikely for consumer code strictly to expect strings, any scripts doing so must be modified.) - Variables relevant to the point above now use flopy's standard float format and precision, like other floating-point variables, when input files are written.
- Separately, the MAW
packagedatavariablestrtcan now be given as a time-series name.
New features
- feat(Mf6Splitter): Weight horizontal flow barrier faces for metis (#2826). Committed by Joseph Hughes on 2026-09-03.
- feat(get-modflow): Accept any repository with standard release assets (#2872). Committed by Joseph Hughes on 2026-10-21.
Bug fixes
- fix(test_save_load_node_mapping_structured): (#2838). Committed by Joshua Larsen on 2026-09-03.
- fix(ModflowSfr2): Support single reach models (#2841). Committed by Joshua Larsen on 2026-09-04.
- fix(_remap_obs): Fix support for GWF observation types with 2 cellids (#2842). Committed by Joshua Larsen on 2026-09-18.
- fix(mflistfile): Parse budget values missing the exponent "E" (#2858). Committed by wpbonelli on 2026-09-29.
- fix(to_geodataframe): Add logic for implicit stress period data (#2852). Committed by Joshua Larsen on 2026-09-30.
- fix(optimize_splitting_mask): Add edge weights for LAK cells (#2853). Committed by Joshua Larsen on 2026-09-30.
- fix(mflistfile): Raise informative error if first budget can't be parsed (#2859). Committed by wpbonelli on 2026-10-03.
- fix(cvfdutil): Preserve conforming shared faces during grid conversion (#2867). Committed by Oscar Sanchez on 2026-10-16.
- fix(mf6): Find external files in model subdirectories with any path separator (#2879). Committed by Mike Müller on 2026-10-31.
Refactoring
- refactor(Mf6Splitter): Update data types for memory reduction (#2819). Committed by Joshua Larsen on 2026-09-03.
- refactor(_remap_sfr): Add more robust handling for (0, 0, 0) SFR cells (#2840). Committed by Joshua Larsen on 2026-09-18.
- refactor(mfmodel): Remove unused package_extension in register_package (#2871). Committed by wpbonelli on 2026-10-19.