Flopy Versions Save

A Python package to create, run, and post-process MODFLOW-based models.

3.6.0

3 months ago

Version 3.6.0

Support for MODFLOW 6.4.3 as well as fixes and enhancements. A highlight is geopandas integration for some APIs.


New features

  • feat(set all data external options): Additional parameters added (#2041). Committed by scottrp on 2023-12-18.
  • feat(PRT): Add conversion/plotting utils for MF6 particle tracking models (#1753). Committed by wpbonelli on 2023-12-22.
  • feat: Add static methods to read gridgen quadtreegrid files (#2061). Committed by Martin Vonk on 2024-01-17.
  • feat(GeoSpatialCollection): Add support for GeoDataFrame objects (#2063). Committed by Joshua Larsen on 2024-01-26.
  • feat(GeoSpatialCollection): Add support for geopandas GeoSeries and GeoArray (#2085). Committed by Joshua Larsen on 2024-02-02.

Bug fixes

  • fix(gridgen): Fix add_refinement_feature() shapefile support (#2022). Committed by wpbonelli on 2023-11-30.
  • fix(gridgen): Support arbitrary path-like for shapefiles (#2026). Committed by wpbonelli on 2023-12-04.
  • fix(subpackages): Fixed detection issue of subpackages in some filein records (#2025). Committed by scottrp on 2023-12-04.
  • fix(recarrays with cellid): Fixes bug when setting data as recarrays with cellids (#2029). Committed by scottrp on 2023-12-05.
  • fix(Mf6Splitter): Preserve MFSimulation version & exe_name (#2033). Committed by wpbonelli on 2023-12-07.
  • fix(data storage): Added numpy type check for consistent integer and float sizes (32-bit vs 64-bit) (#2062). Committed by scottrp on 2024-01-17.
  • fix(obs package loading): Fixed problem with loading multiple continuous blocks (#2058) (#2064). Committed by scottrp on 2024-01-22.
  • fix(particledata): Support 1D numpy array for partlocs (#2074). Committed by wpbonelli on 2024-01-25.
  • fix(tri2vor): Remove invalid geometries from voronoi nodes (#2076). Committed by Joshua Larsen on 2024-01-26.
  • fix(MFSimulationList): Fix comma spacing in error message (#2090). Committed by wpbonelli on 2024-02-04.
  • fix(numpy 2.0 deprecation): Replace np.alltrue with np.all (#2088). Committed by mnfienen on 2024-02-04.
  • fix(usgcln): add explicit second dimension to util2d.load calls (#2097). Committed by cnicol-gwlogic on 2024-02-07.

Refactoring

3.5.0

6 months ago

Version 3.5.0


⚠️ Breaking changes

  • rno, iuzno, lakeno, wellno attributes were standardized to ifno (for "feature number") — a 3.5.x patch may provide backwards-compatibility as this was released somewhat prematurely

Highlights

Python 3.12 support

While previous releases may be compatible with Python 3.12, this release adds official support. Note: the wheel for pyzmq, a core dependency of IPython/jupyter, may fail to build when installing optional dependencies via e.g. pip install "flopy[test]" or pip install "flopy[optional]". To work with notebooks in the meantime Conda is recommended.

Pandas integration
  • Promote Pandas from optional to core dependency (note pandas >= 2 is required)
  • Reimplement MF6 internal data storage with Pandas — may provide significant speedups reading/writing MF6 input files. To fall back to the old implementation, set use_pandas=False on MFSimulation.load() or at init time.
  • Support DataFrame for flopy.modflow.* package input data, e.g. node_data and stress_period_data
Deprecations

Several deprecated features are removed or turned into errors:

  • sr property from Mt3dms
  • flopy.export.vtk functions export_model(), export_package(), export_transient(), export_heads(), export_array(), export_cbc()
  • flopy.plot.plotutil functions centered_specific_discharge(), cvfd_to_patch_collection(), plot_cvfd()
  • layer kwarg in MFTransientArray's get_data() method
  • MFSimulation functions get_mvr_file(), get_mvt_file(), get_gnc_file(), get_ims_package()
  • nwt_11_fmt parameter from ModflowUzf1 initializer
  • Grid.thick and .saturated_thick properties
Other changes
  • rno, iuzno, lakeno, wellno standardized to ifno (for "feature number")

Several features are newly deprecated:

  • ra_slice() from flopy.utils.recarray_utils, suggest numpy.lib.recfunctions.repack_fields()
  • recarray() from flopy.utils.recarray_utils, suggest numpy.core.records.fromrecords()
  • epsg, proj4, and proj4_str are replaced with a single crs parameter on MF6 Grid and ModflowDis classes and various utilities
  • branch option for flopy.mf6.utils.generate_classes utility replaced with ref

See specific commits below for more info on suggested replacements.


New features

  • feat(simulation+model options): Dynamically generate simulation options from simulation namefile dfn (#1842). Committed by spaulins-usgs on 2023-07-10.
  • feat(binaryfile): Add reverse() method to HeadFile, CellBudgetFile (#1829). Committed by w-bonelli on 2023-07-29.
  • feat(get-modflow): Allow specifying repo owner (#1910). Committed by w-bonelli on 2023-08-08.
  • feat(generate_classes): Create a command-line interface (#1912). Committed by Mike Taves on 2023-08-16.
  • feat(gridutil): Add function to help create DISV grid (#1952). Committed by langevin-usgs on 2023-09-18.
  • feat(pandas list): Fix for handling special case where boundname set but not used (#1982). Committed by scottrp on 2023-10-06.
  • feat(MfSimulationList): Add functionality to parse the mfsim.lst file (#2005). Committed by jdhughes-usgs on 2023-11-14.
  • feat(modflow): Support dataframe for pkg data (#2010). Committed by wpbonelli on 2023-11-22.
  • feat(mfsimlist): Add functionality to parse memory_print_options (#2009). Committed by jdhughes-usgs on 2023-11-22.

Bug fixes

  • fix(exchange and gnc package cellids): #1866 (#1871). Committed by spaulins-usgs on 2023-07-11.
  • fix(modelgrid): Retain crs data from classic nam files (#1904). Committed by Mike Taves on 2023-08-10.
  • fix(generate_classes): Use branch arg if provided (#1938). Committed by w-bonelli on 2023-08-31.
  • fix(remove_model): Remove_model method fix and tests (#1945). Committed by scottrp on 2023-09-14.
  • fix(model_splitter.py): Standardizing naming of iuzno, rno, lakeno, & wellno to ifno (#1963). Committed by Eric Morway on 2023-09-25.
  • fix(pandas list): Deal with cellids with inconsistent types (#1980). Committed by scottrp on 2023-10-06.
  • fix(model_splitter): Check keys in mftransient array (#1998). Committed by jdhughes-usgs on 2023-11-13.
  • fix(benchmarks): Fix benchmark post-processing (#2004). Committed by wpbonelli on 2023-11-14.
  • fix(MfSimulationList): Add missing seek to get_runtime method (#2006). Committed by mjr-deltares on 2023-11-15.
  • fix(get_disu_kwargs): Incorrect indexing of delr and delc (#2011). Committed by langevin-usgs on 2023-11-21.
  • fix(PlotCrossSection): Boundary conditions not plotting for DISU (#2012). Committed by langevin-usgs on 2023-11-21.
  • fix(release.yml): Don't regenerate pkgs from mf6 main on release (#2014). Committed by wpbonelli on 2023-11-24.
  • fix(release.yml): Fix update changelog step (#2015). Committed by wpbonelli on 2023-11-25.

Refactoring

  • refactor(_set_neighbors): Check for closed iverts and remove closing ivert (#1876). Committed by Joshua Larsen on 2023-07-14.
  • refactor(crs): Provide support without pyproj, other deprecations (#1850). Committed by Mike Taves on 2023-07-19.
  • refactor(Notebooks): Apply pyformat and black QA tools (#1879). Committed by Mike Taves on 2023-07-24.
  • refactor: Require pandas>=2.0.0 as core dependency (#1887). Committed by w-bonelli on 2023-08-01.
  • refactor(expired deprecation): Raise AttributeError with Grid.thick and Grid.saturated_thick (#1884). Committed by Mike Taves on 2023-08-01.
  • refactor(pathline/endpoint plots): Support recarray or dataframe (#1888). Committed by w-bonelli on 2023-08-01.
  • refactor(expired deprecation): Remove warning for third parameter of Grid.intersect (#1883). Committed by Mike Taves on 2023-08-01.
  • refactor(dependencies): Constrain sphinx >=4 (#1898). Committed by w-bonelli on 2023-08-02.
  • refactor(dependencies): Constrain sphinx-rtd-theme >=1 (#1900). Committed by w-bonelli on 2023-08-03.
  • refactor(mf6): Remove deprecated features (#1894). Committed by w-bonelli on 2023-08-03.
  • refactor(plotutil): Remove deprecated utilities (#1891). Committed by w-bonelli on 2023-08-03.
  • refactor(shapefile_utils): Remove deprecated SpatialReference usages (#1892). Committed by w-bonelli on 2023-08-03.
  • refactor(vtk): Remove deprecated export_* functions (#1890). Committed by w-bonelli on 2023-08-03.
  • refactor(generate_classes): Deprecate branch for ref, introduce repo, test commit hashes (#1907). Committed by w-bonelli on 2023-08-09.
  • refactor(expired deprecation): Remaining references to SpatialReference (#1914). Committed by Mike Taves on 2023-08-11.
  • refactor(Mf6Splitter): Control record and additional splitting checks (#1919). Committed by Joshua Larsen on 2023-08-21.
  • refactor(triangle): Raise if output files not found (#1954). Committed by wpbonelli on 2023-09-22.
  • refactor(recarray_utils): Deprecate functions, use numpy builtins (#1960). Committed by wpbonelli on 2023-09-27.
  • refactor(contour_array): Add layer param, update docstrings, expand tests (#1975). Committed by wpbonelli on 2023-10-18.
  • refactor(model_splitter.py): (#1994). Committed by Joshua Larsen on 2023-11-01.
  • refactor(modflow): Remove deprecated features (#1893). Committed by wpbonelli on 2023-11-03.
  • refactor: Support python3.12, simplify tests and dependencies (#1999). Committed by wpbonelli on 2023-11-13.
  • refactor(msfsr2): Write sfr_botm_conflicts.chk to model workspace (#2002). Committed by wpbonelli on 2023-11-14.
  • refactor(shapefile_utils): Warn if fieldname truncated per 10 char limit (#2003). Committed by wpbonelli on 2023-11-14.
  • refactor(pakbase): Standardize ipakcb docstrings/defaults (#2001). Committed by wpbonelli on 2023-11-22.
  • refactor(.gitattributes): Exclude examples/data from linguist (#2017). Committed by wpbonelli on 2023-11-25.

3.4.3

8 months ago

Version 3.4.3

Provide interim support for Matplotlib 3.8+, which changed the way contours are represented and broke export_contours() and export_contourf().

Note: with MPL 3.8+, FloPy can no longer export interior polygons (i.e. holes) for filled contours. This is a backwards-incompatible change, and could be considered worthy of a major release — with some compunction, FloPy follows MPL's example here, and this remains a patch release. A future version may reimplement contour export and restore support for interior polygons. In the meantime, users requiring interior polygons should pin MPL below 3.8.

Bug fixes

  • fix(export_contours/f): Support matplotlib 3.8+ (#1951). Committed by @wpbonelli on 2023-09-19.
  • fix(usg bcf): ksat util3d call --> util2d call (#1959). Committed by @cnicol-gwlogic on 2023-09-22.
  • fix(resolve_exe): Support extensionless abs/rel paths on windows (#1957). Committed by @wpbonelli on 2023-09-24.
  • fix(mbase): Warn if duplicate pkgs or units (#1964). Committed by @wpbonelli on 2023-09-26.
  • fix(get_structured_faceflows): Cover edge cases, expand tests (#1968). Committed by @wpbonelli on 2023-09-29.
  • fix(CellBudgetFile): Detect compact fmt by negative nlay (#1966). Committed by @wpbonelli on 2023-09-30.

3.4.2

9 months ago

Version 3.4.2

Bug fixes

  • fix(binaryfile/gridutil): Avoid numpy deprecation warnings (#1868). Committed by w-bonelli on 2023-07-12.
  • fix(binary): Fix binary header information (#1877). Committed by jdhughes-usgs on 2023-07-16.
  • fix(time series): Fix for multiple time series attached to single package (#1867) (#1873). Committed by spaulins-usgs on 2023-07-20.
  • fix(check): Check now works properly with confined conditions (#1880) (#1882). Committed by spaulins-usgs on 2023-07-27.
  • fix(mtlistfile): Fix reading MT3D budget (#1899). Committed by Ralf Junghanns on 2023-08-03.
  • fix(check): Updated flopy's check to work with cellid -1 values (#1885). Committed by spaulins-usgs on 2023-08-06.
  • fix(BaseModel): Don't suppress error if exe not found (#1901). Committed by w-bonelli on 2023-08-07.
  • fix(keyword data): Optional keywords (#1920). Committed by spaulins-usgs on 2023-08-16.
  • fix(GridIntersect): Combine list of geometries using unary_union (#1923). Committed by Mike Taves on 2023-08-21.
  • fix(gridintersect): Add multilinestring tests (#1924). Committed by Davíd Brakenhoff on 2023-08-21.
  • fix(binary file): Was writing binary file information twice to external files (#1925) (#1928). Committed by scottrp on 2023-08-25.
  • fix(ParticleData): Fix docstring, structured default is False (#1935). Committed by w-bonelli on 2023-08-25.

Refactoring

3.4.1

11 months ago

Version 3.4.1

Patch a regression in the get-modflow utility caused by changes to MODFLOW 6 release asset names (addition of "_win64" to the Windows distribution).

Bug fixes

  • fix(get-modflow): Accommodate mf6 release asset name change (#1855). Committed by w-bonelli on 2023-06-29.

3.4.0

11 months ago

Version 3.4.0

Begin semantic versioning such that releases are

  • major if any backwards-incompatible changes are introduced
  • minor if changes are backwards-compatible and contain new features
  • patch if changes are b.c. and only contain bug fixes

New features

  • feat(Simulation): Support pathlike (#1712). Committed by aleaf on 2023-02-13.
  • feat(solvers): Support for multiple solver types (#1706) (#1709). Committed by spaulins-usgs on 2023-02-15.
  • feat(pathlike): Support pathlike in user-facing APIs (#1730). Committed by w-bonelli on 2023-03-03.
  • feat(export): Include particle track polylines in VTK exports (#1750). Committed by w-bonelli on 2023-04-19.
  • feat(crs): Pyproj crs (#1737). Committed by aleaf on 2023-04-26.
  • feat(vtk): Add to_pyvista() method (#1771). Committed by w-bonelli on 2023-04-30.
  • feat(run_simulation): Add support for running parallel simulations with flopy (#1807). Committed by jdhughes-usgs on 2023-06-05.
  • feat(model_splitter.py): Integrate model_splitter.py into FloPy (#1799). Committed by Joshua Larsen on 2023-06-05.
  • feat(model_splitter): Add optional pymetis dependency (#1812). Committed by jdhughes-usgs on 2023-06-06.
  • feat(model_splitter): Add support for models that do not use IDOMAIN (#1834). Committed by jdhughes-usgs on 2023-06-21.
  • feat(generate_classes): Add optional owner param (#1833). Committed by w-bonelli on 2023-06-21.

Bug fixes

  • fix(MFPackage kwargs check): Now verifying that only valid kwargs are passed to MFPackage (#1667). Committed by spaulins-usgs on 2022-12-22.
  • fix(factor): Fixed factor bug where converting data from internal to external can cause the factor to be applied to the data (#1673). Committed by scottrp on 2023-01-09.
  • fix(package dictionary): Removed package_key_dict since it is redundant and can cause errors (#1690). Committed by spaulins-usgs on 2023-01-26.
  • fix(intersect): Multiple (#1696). Committed by w-bonelli on 2023-01-31.
  • fix(datautil): Fix SFR connection file parsing (#1694). Committed by Wes Kitlasten on 2023-02-03.
  • fix(CellBudgetFile): Strip auxname for imeth 5 (#1716). Committed by Mike Taves on 2023-02-13.
  • fix(mfdatastorage): Use appropriate fill_value for data type (#1689). Committed by Mike Taves on 2023-02-13.
  • fix(test_sfr): Update test to be more robust with Matplotlib versions (#1717). Committed by Mike Taves on 2023-02-14.
  • fix(flopy performance): FloPy performance modifications + best practices documented (#1674). Committed by spaulins-usgs on 2023-02-15.
  • fix(exe path): FloPy now correctly resolves relative paths to mf6 executable (#1633) (#1727). Committed by spaulins-usgs on 2023-03-02.
  • fix(ParticleData): Support partlocs as ndarray or list of lists (#1752). Committed by w-bonelli on 2023-03-23.
  • fix(mp6sim): Use keyword args for pandas DataFrame.drop (#1757). Committed by w-bonelli on 2023-04-06.
  • fix(MFFileMgmt): Remove string_to_file_path (#1759). Committed by w-bonelli on 2023-04-06.
  • fix(contours): Use nan for mpl contour masks on structured grids (#1766). Committed by w-bonelli on 2023-04-14.
  • fix(MFFileMgmt): Avoid IndexError in strip_model_relative_path (#1748). Committed by w-bonelli on 2023-04-27.
  • fix(mtdsp): Add support for keyword 'nocross' in MT3D dsp package (#1778). Committed by Eric Morway on 2023-05-09.
  • fix(shapefile_utils): Tolerate missing arrays in model_attributes_to_shapefile (#1785). Committed by w-bonelli on 2023-05-17.
  • fix(Modpath6Sim): Move import_optional_dependency("pandas") to method (#1783). Committed by Mike Taves on 2023-05-17.
  • fix(float32, empty stress period): #1779 and #1793 (#1806). Committed by spaulins-usgs on 2023-06-02.
  • fix(load_node_mapping): Add sim parameter to populate Mf6Splitter._model_dict (#1828). Committed by Joshua Larsen on 2023-06-13.
  • fix(keystring): Flopy now does not rely on keystring name being a substring of the keystring record name (#1616) (#1830). Committed by spaulins-usgs on 2023-06-15.
  • fix(get-modflow): Manage internal "bin" dir structures (#1837). Committed by Mike Taves on 2023-06-23.
  • fix(GridIntersect): Fix indexing error for empty intersection comparison (#1838). Committed by Joshua Larsen on 2023-06-23.
  • fix(mf6): Fix external binary files for vertex grids (#1839). Committed by jdhughes-usgs on 2023-06-26.
  • fix(binary): Revert a few changes in PR #1839 (#1846). Committed by jdhughes-usgs on 2023-06-28.

Performance

  • perf(Gridintersect): Optimize intersection methods for shapely 2.0 (#1666). Committed by Davíd Brakenhoff on 2022-12-23.

3.3.6

1 year ago

New features

  • feat(time step length): Added feature that returns time step lengths from listing file (#1435) (#1437). Committed by scottrp on 2022-06-30.
  • feat: Get modflow utility (#1465). Committed by Mike Taves on 2022-07-27.
  • feat(Gridintersect): New grid intersection options (#1468). Committed by Davíd Brakenhoff on 2022-07-27.
  • feat: Unstructured grid from specification file (#1524). Committed by w-bonelli on 2022-09-08.
  • feat(aux variable checking): Check now performs aux variable checking (#1399) (#1536). Committed by spaulins-usgs on 2022-09-12.
  • feat(get/set data record): Updated get_data/set_data functionality and new get_record/set_record methods (#1568). Committed by spaulins-usgs on 2022-10-06.
  • feat(get_modflow): Support modflow6 repo releases (#1573). Committed by w-bonelli on 2022-10-11.
  • feat(contours): Use standard matplotlib contours for StructuredGrid map view plots (#1615). Committed by w-bonelli on 2022-11-10.

Bug fixes

  • fix(geometry): Is_clockwise() now works as expected for a disv problem (#1374). Committed by Eric Morway on 2022-03-16.
  • fix(packaging): Include pyproject.toml to sdist, check package for PyPI (#1373). Committed by Mike Taves on 2022-03-21.
  • fix(url): Use modern DOI and USGS prefixes; upgrade other HTTP->HTTPS (#1381). Committed by Mike Taves on 2022-03-23.
  • fix(packaging): Add docs/*.md to MANIFEST.in for sdist (#1391). Committed by Mike Taves on 2022-04-01.
  • fix(_plot_transient2d_helper): Fix filename construction for saving plots (#1388). Committed by Joshua Larsen on 2022-04-01.
  • fix(simulation packages): *** Breaks interface *** (#1394). Committed by spaulins-usgs on 2022-04-19.
  • fix(plot_pathline): Split recarray into particle list when it contains multiple particle ids (#1400). Committed by Joshua Larsen on 2022-04-30.
  • fix(lgrutil): Child delr/delc not correct if parent has variable row/col spacings (#1403). Committed by langevin-usgs on 2022-05-03.
  • fix(ModflowUzf1): Fix for loading negative iuzfopt (#1408). Committed by Joshua Larsen on 2022-05-06.
  • fix(features_to_shapefile): Fix missing bracket around linestring for shapefile (#1410). Committed by Joshua Larsen on 2022-05-06.
  • fix(mp7): Ensure shape in variables 'zones' and 'retardation' is 3d (#1415). Committed by Ruben Caljé on 2022-05-11.
  • fix(ModflowUzf1): Update load for iuzfopt = -1 (#1416). Committed by Joshua Larsen on 2022-05-17.
  • fix(recursion): Infinite recursion fix for getattr. Spelling error fix in notebook. (#1414). Committed by scottrp on 2022-05-19.
  • fix(get_structured_faceflows): Fix index issue in lower right cell (#1417). Committed by jdhughes-usgs on 2022-05-19.
  • fix(package paths): Fixed auto-generated package paths to make them unique (#1401) (#1425). Committed by spaulins-usgs on 2022-05-31.
  • fix(get-modflow/ci): Use GITHUB_TOKEN to side-step ratelimit (#1473). Committed by Mike Taves on 2022-07-29.
  • fix(get-modflow/ci): Handle 404 error to retry request from GitHub (#1480). Committed by Mike Taves on 2022-08-04.
  • fix(intersect): Update to raise error only when interface is called improperly (#1489). Committed by Joshua Larsen on 2022-08-11.
  • fix(GridIntersect): Fix DeprecationWarnings for Shapely2.0 (#1504). Committed by Davíd Brakenhoff on 2022-08-19.
  • fix: CI, tests & modpathfile (#1495). Committed by w-bonelli on 2022-08-22.
  • fix(HeadUFile): Fix #1503 (#1510). Committed by w-bonelli on 2022-08-26.
  • fix(setuptools): Only include flopy and flopy.* packages (not autotest) (#1529). Committed by Mike Taves on 2022-09-01.
  • fix(mfpackage): Modify maxbound evaluation (#1530). Committed by jdhughes-usgs on 2022-09-02.
  • fix(PlotCrossSection): Update number of points check (#1533). Committed by Joshua Larsen on 2022-09-08.
  • fix(parsenamefile): Only do lowercase comparison when parent dir exists (#1554). Committed by Mike Taves on 2022-09-22.
  • fix(obs): Modify observations to load single time step files (#1559). Committed by jdhughes-usgs on 2022-09-29.
  • fix(PlotMapView notebook): Remove exact contour count assertion (#1564). Committed by w-bonelli on 2022-10-03.
  • fix(test markers): Add missing markers for exes required (#1577). Committed by w-bonelli on 2022-10-07.
  • fix(csvfile): Default csvfile to retain all characters in column names (#1587). Committed by langevin-usgs on 2022-10-14.
  • fix(csvfile): Correction to read_csv args, close file handle (#1590). Committed by Mike Taves on 2022-10-16.
  • fix(data shape): Fixed incorrect data shape for sfacrecord (#1584). Fixed a case where time array series data did not load correctly from a file when the data shape could not be determined (#1594). (#1598). Committed by spaulins-usgs on 2022-10-21.
  • fix(write_shapefile): Fix transform call for exporting (#1608). Committed by Joshua Larsen on 2022-10-27.
  • fix(multiple): Miscellanous fixes/enhancements (#1614). Committed by w-bonelli on 2022-11-03.
  • fix: Not reading comma separated data correctly (#1634). Committed by Michael Ou on 2022-11-23.
  • fix(get-modflow): Fix code.json handling (#1641). Committed by w-bonelli on 2022-12-08.
  • fix(quotes+exe_path+nam_file): Fixes for quoted strings, exe path, and nam file (#1645). Committed by spaulins-usgs on 2022-12-08.

Refactoring

3.3.5

2 years ago
  • New features:

    • feat(mvt): Add simulation-level support for mover transport (#1357). Committed by langevin-usgs on 2022-02-18.
    • feat(gwtgwt-mvt): Add support for gwt-gwt with mover transport (#1356). Committed by langevin-usgs on 2022-02-18.
    • feat(inspect cells): New feature that returns model data associated with specified model cells (#1140) (#1325). Committed by spaulins-usgs on 2022-01-11.
    • feat(multiple package instances): Flopy support for multiple instances of the same package stored in dfn files (#1239) (#1321). Committed by spaulins-usgs on 2022-01-07.
    • feat(Gridintersect): Add shapetype kwarg (#1301). Committed by Davíd Brakenhoff on 2021-12-03.
    • feat(get_ts): Added support to get_ts for headufile (#1260). Committed by Ross Kushnereit on 2021-10-09.
    • feat(CellBudget): Add support for full3d keyword (#1254). Committed by jdhughes-usgs on 2021-10-05.
    • feat(mf6): Allow multi-package for stress package concentrations (spc) (#1242). Committed by langevin-usgs on 2021-09-16.
    • feat(lak6): Support none lake bedleak values (#1189). Committed by jdhughes-usgs on 2021-08-16.
  • Bug fixes:

    • fix(exchange obs): Fixed building of obs package for exchange packages (through mfsimulation) (#1363). Committed by spaulins-usgs on 2022-02-28.
    • fix(tab files): Fixed searching for tab file packages (#1337) (#1344). Committed by scottrp on 2022-02-16.
    • fix(ModflowUtllaktab): Utl-lak-tab.dfn is redundant to utl-laktab.dfn (#1339). Committed by Mike Taves on 2022-01-27.
    • fix(cellid): Fixes some issues with flopy properly identifying cell ids (#1335) (#1336). Committed by spaulins-usgs on 2022-01-25.
    • fix(postprocessing): Get_structured_faceflows fix to support 3d models (#1333). Committed by langevin-usgs on 2022-01-21.
    • fix(Raster): Resample_to_grid failure no data masking failure with int dtype (#1328). Committed by Joshua Larsen on 2022-01-21.
    • fix(voronoi): Clean up voronoi examples and add error check (#1323). Committed by langevin-usgs on 2022-01-03.
    • fix(filenames): Fixed how spaces in filenames are handled (#1236) (#1318). Committed by spaulins-usgs on 2021-12-16.
    • fix(paths): Path code made more robust so that non-standard model folder structures are supported (#1311) (#1316). Committed by scottrp on 2021-12-09.
    • fix(UnstructuredGrid): Load vertices for unstructured grids (#1312). Committed by Chris Nicol on 2021-12-09.
    • fix(array): Getting array data (#1028) (#1290). Committed by spaulins-usgs on 2021-12-03.
    • fix(plot_pathline): Sort projected pathline points by travel time instead of cell order (#1304). Committed by Joshua Larsen on 2021-12-03.
    • fix(autotests): Added pytest.ini to declare test naming convention (#1307). Committed by Joshua Larsen on 2021-12-03.
    • fix(geospatial_utils.py): Added pyshp and shapely imports check to geospatial_utils.py (#1305). Committed by Joshua Larsen on 2021-12-03.
    • fix(path): Fix subdirectory path issues (#1298). Committed by Brioch Hemmings on 2021-11-18.
    • fix(): fix(mfusg/str) (#1296). Committed by Chris Nicol on 2021-11-11.
    • fix(io): Read comma separated list (#1285). Committed by Michael Ou on 2021-11-02.
    • fixes(1247): Make flopy buildable with pyinstaller (#1248). Committed by Tim Mitchell on 2021-10-20.
    • fix(keystring records): Fixed problem with keystring records containing multiple keywords (#1266). Committed by spaulins-usgs on 2021-10-15.
    • fix(ModflowFhb): Update datasets 4, 5, 6, 7, 8 loading routine for multiline records (#1264). Committed by Joshua Larsen on 2021-10-15.
    • fix(MFFileMgmt.string_to_file_path): Updated to support unc paths (#1256). Committed by Joshua Larsen on 2021-10-06.
    • fix(_mg_resync): Added checks to reset the modelgrid resync (#1258). Committed by Joshua Larsen on 2021-10-06.
    • fix(MFPackage): Fix mfsim.nam relative paths (#1252). Committed by Joshua Larsen on 2021-10-01.
    • fix(voronoi): Voronoigrid class upgraded to better support irregular domains (#1253). Committed by langevin-usgs on 2021-10-01.
    • fix(writing tas): Fixed writing non-constant tas (#1244) (#1245). Committed by spaulins-usgs on 2021-09-22.
    • fix(numpy elementwise comparison): Fixed numpy futurewarning. no elementwise compare is needed if user passes in a numpy recarray, this is only necessary for dictionaries. (#1235). Committed by spaulins-usgs on 2021-09-13.
    • fix(): fix(shapefile_utils) unstructured shapefile export (#1220) (#1222). Committed by Chris Nicol on 2021-09-03.
    • fix(rename and comments): Package rename code and comment propagation (#1226). Committed by spaulins-usgs on 2021-09-03.
    • fix(numpy): Handle deprecation warnings from numpy 1.21 (#1211). Committed by Mike Taves on 2021-08-23.
    • fix(Grid.saturated_thick): Update saturated_thick to filter confining bed layers (#1197). Committed by Joshua Larsen on 2021-08-18.
    • fix(): fix(pakbase) unstructured storage check (#1187) (#1194). Committed by Chris Nicol on 2021-08-17.
    • fix(MF6Output): Fix add new obs package issue (#1193). Committed by Joshua Larsen on 2021-08-17.
    • fix(): fix(plot/plot_bc) plot_bc fails with unstructured models (#1185). Committed by Chris Nicol on 2021-08-16.
    • fix(): fix(modflow/mfriv) unstructured mfusg RIV package load check fix (#1184). Committed by Chris Nicol on 2021-08-16.
    • fix(pakbase): Specify dtype=bool for 0-d active array used for usg (#1188). Committed by Mike Taves on 2021-08-16.
    • fix(raster): Rework raster threads to work on osx (#1180). Committed by jdhughes-usgs on 2021-08-10.
    • fix(): fix(loading mflist from file) (#1179). Committed by J Dub on 2021-08-09.
    • fix(grid, plotting): Bugfixes for all grid instances and plotting code (#1174). Committed by Joshua Larsen on 2021-08-09.

3.3.4

2 years ago
  • New features:

    • feat(mf6-lake): Add helper function to create lake connections (#1163). Committed by jdhughes-usgs on 2021-08-04.
    • feat(data storage): Data automatically stored internally when simulation or model relative path changed (#1126) (#1157). Committed by spaulins-usgs on 2021-07-29.
    • feat(get_reduced_pumping): Update to read external pumping reduction files (#1162). Committed by Joshua Larsen on 2021-07-29.
    • feat(raster): Add option to extrapolate using nearest method (#1159). Committed by jdhughes-usgs on 2021-07-26.
    • Feat(ZoneBudget6): Added zonebudget6 class to zonbud.py (#1149). Committed by Joshua Larsen on 2021-07-12.
    • feat(grid): Add thickness method for all grid types (#1138). Committed by jdhughes-usgs on 2021-06-25.
    • feat(flopy for mf6 docs): Documentation added and improved for flopy (#1121). Committed by spaulins-usgs on 2021-06-01.
    • Feat(.output): Added output property method to mf6 packages and models (#1100). Committed by Joshua Larsen on 2021-04-23.
  • Bug fixes:

    • fix(flopy_io): Limit fixed point format string to fixed column widths (#1172). Committed by jdhughes-usgs on 2021-08-06.
    • fix(modpath7): Address #993 and #1053 (#1170). Committed by jdhughes-usgs on 2021-08-05.
    • fix(lakpak_utils): Fix telev and belev for horizontal connections (#1168). Committed by jdhughes-usgs on 2021-08-05.
    • fix(mfsfr2.check): Make reach_connection_gaps.chk.csv a normal csv file (#1151). Committed by Mike Taves on 2021-07-27.
    • fix(modflow/mfrch,mfevt): Mfusg rch,evt load and write fixes (#1148). Committed by Chris Nicol on 2021-07-13.
    • fix(Raster): Update default dtypes to include unsigned integers (#1147). Committed by Joshua Larsen on 2021-07-12.
    • fix(utils/check): File check for mfusg unstructured models (#1145). Committed by Chris Nicol on 2021-07-09.
    • fix(list parsing): Fixed errors caused by parsing certain lists with keywords in the middle (#1135). Committed by spaulins-usgs on 2021-06-25.
    • fix(plotutil.py, grid.py): Fix .plot() method using mflay parameter (#1134). Committed by Joshua Larsen on 2021-06-16.
    • fix(map.py): Fix slow plotting routines (#1118). Committed by Joshua Larsen on 2021-06-11.
    • fix(plot_pathline): Update modpath intersection routines (#1112). Committed by Joshua Larsen on 2021-06-11.
    • fix(gridgen): Mfusg helper function not indexing correctly (#1124). Committed by langevin-usgs on 2021-05-28.
    • fix(numpy): Aliases of builtin types is deprecated (#1105). Committed by Mike Taves on 2021-05-07.
    • fix(mfsfr2.py): Dataset 6b and 6c write routine, remove blank lines (#1101). Committed by Joshua Larsen on 2021-04-26.
    • fix(performance): Implemented performance improvements including improvements suggested by @briochh (#1092) (#1097). Committed by spaulins-usgs on 2021-04-12.
    • fix(package write): Allow user to define and write empty stress period blocks to package files (#1091) (#1093). Committed by scottrp on 2021-04-08.
    • fix(imports): Fix shapely and geojson imports (#1083). Committed by jdhughes-usgs on 2021-03-20.
    • fix(shapely): Handle deprecation warnings from shapely 1.8 (#1069). Committed by Mike Taves on 2021-03-19.
    • fix(mp7particledata): Update dtype comparison for unstructured partlocs (#1071). Committed by rodrperezi on 2021-03-19.
    • fix(get_file_entry): None text removed from empty stress period data with aux variable (#1080) (#1081). Committed by scottrp on 2021-03-19.
    • fix(data check): Minimum number of data columns check fixed (#1062) (#1067). Committed by spaulins-usgs on 2021-03-17.
    • fix(plotutil): Number of plottable layers should be from util3d.shape[0] (#1077). Committed by Mike Taves on 2021-03-15.
    • fix(data check): Minimum number of data columns check fixed (#1062) (#1065). Committed by spaulins-usgs on 2021-02-19.

3.3.3

3 years ago
  • New features:

    • feat(voronoi): Add voronoigrid class (#1034). Committed by langevin-usgs on 2021-01-05.
    • feat(unstructured): Improve unstructured grid support for modflow 6 and modflow-usg (#1021). Committed by langevin-usgs on 2020-11-27.
  • Bug fixes:

    • fix(createpackages): Avoid creating invalid escape characters (#1055). Committed by Mike Taves on 2021-02-17.
    • fix(DeprecationWarning): Use collections.abc module instead of collections (#1057). Committed by Mike Taves on 2021-02-15.
    • fix(DeprecationWarning): Related to numpy (#1058). Committed by Mike Taves on 2021-02-15.
    • fix(numpy): Aliases of builtin types is deprecated as of numpy 1.20 (#1052). Committed by Mike Taves on 2021-02-11.
    • fix(): fix(get_active) include the cbd layers when checking layer thickness before BAS is loaded (#1051). Committed by Michael Ou on 2021-02-08.
    • fix(dis): Fix for dis.get_lrc() and dis.get_node() (#1049). Committed by langevin-usgs on 2021-02-04.
    • fix(): fix(modflow/mflpf) mfusg unstructured lpf ikcflag addition (#1044). Committed by Chris Nicol on 2021-02-01.
    • fix(print MFArray): Fixed printing of layered arrays - issue #1043 (#1045). Committed by spaulins-usgs on 2021-01-29.
    • fix(GridIntersect): Fix vertices for offset grids (#1037). Committed by Davíd Brakenhoff on 2021-01-13.
    • fix(PlotMapView.plot_array()): Fix value masking code for masked_values parameter (#1026). Committed by Joshua Larsen on 2020-12-03.
    • fix(sfr ic option): Made ic optional and updated description (#1020). Committed by spaulins-usgs on 2020-11-27.