Skip to content

Releases: DOI-USGS/sfrmaker

SFRmaker v0.12.1

09 May 18:30
47043eb

Choose a tag to compare

Changes in this Release:

0.12.1 (2025-05-09)

Bug Fixes

  • SFRdata: pass auxiliary variable information from Mf6SFR instanc… (#183) (47043eb)

SFRmaker v0.12.0

09 May 16:52

Choose a tag to compare

Changes in this Release:

0.12.0 (2025-05-09)

Features

  • nhdplus_utils.read_nhdplus_hr: support reading multiple geodatabases; add test (b260669)
  • preprocessing: add preprocess_nhdplus_hr_flowlines and preprocess_nhdplus_hr_waterbodies functions (f8a190e)

Bug Fixes

  • gis.py: Ensure valid geometries for intersection functions (0b41d3f), closes #169
  • mf5to6: issue when converting MODFLOW-2005 SFR2 packages to MODFLOW-6; line_id is included by default as an auxiliary variable, but no line_id column was getting written to the MODFLOW 6 packagedata. Use SFR2 segment number as line_id in this case. Raise an error for any other declared auxiliary variables that aren't included in packagedata. (1071944)
  • sfrdata.create_mf6sfr: don't include 'None' in connectiondata for unconnected reaches (b4e5697)
  • test_preprocessing.py: add missing nhdplus_hr_waterbodies.shp (6ba3532)
  • utils.py::assign_layers: bad logic in return branch (f2b611e)

Code Refactoring

  • use strings universally as datatype for line identifiers, to avoid confusion withfloats vs ints and issues with long identifiers such as those in NHDPlus HR that can't be represented as integers in 32-bit contexts (efa5c5a)
  • lines.to_sfr::add_outlets: search full original routing when looking for a specified outlet (e6969d8)
  • NHDPlus HR waterbody preprocessing (preprocessing.py::preprocess_nhdplus_hr_waterbodies: represent NHDPlusIDs as strings, consistent with the rest of SFRmaker. (1977d79)
  • preprocessing.py: use GeoPandas instead of gis-utils for reading/writing shapefiles; except whenreading multiple shapefiles; fixes potential issue with mixed geometry types (e.g. Polygon and MultiPolygon) and possibly other potential issues. (6e2d24f)

Documentation

  • Add demo for converting SFR2 to MODFLOW 6 (0cea8df)
  • added examples for preprocessing NHDPLus HR (8bcb443)

SFRmaker version 0.11.3

19 Oct 18:29

Choose a tag to compare

Changes in this Release:

0.11.3 (2024-10-19)

Bug Fixes

  • SFRData.from_yaml(); SFRData.set_streambed_top_elevations_from_dem(): refactor get_slopes() method to use general function in elevations.py module; rename SFRData.get_slopes to update_slopes. Updates slopes in from_yaml and set_streambed_top_elevations_from_dem after streambed top elevations are populated, so that slopes are consistent with streambed tops. Add tests for scripting and from_yaml contexts. (d20cc6c)
  • utils.py::assign_layers: bad logic in return branch (e4df4f9)

Documentation

  • Readme: add conda-forge badge (c268314)
  • update release history (25a7b0a)

Release v0.11.2

15 Jan 17:07

Choose a tag to compare

Changes in this Release:

Release v0.11.1

14 Aug 17:10

Choose a tag to compare

Changes in this Release:

Release v0.11.0

25 Jul 13:37

Choose a tag to compare

Changes in this Release:

Version 0.10.1

06 Feb 21:02

Choose a tag to compare

v0.10.1

Version 0.10.1

Version 0.10.0

02 Feb 22:19

Choose a tag to compare

v0.10.0

Version 0.10.0

Version 0.9.4

19 Jan 20:41

Choose a tag to compare

v0.9.4

Version 0.9.4

Version 0.9.3

19 Dec 19:34

Choose a tag to compare

v0.9.3

Version 0.9.3