Change log#
Version 0.8#
- Date:
3 July 2024
New things#
Add
swn.SurfaceWaterNetwork.coarsen()
to create stream networks with a higher stream order (#100)
Other changes#
Fix warnings and test with
locate_geoms()
(#96)Change build to hatch, use only ruff format and lint tools, add workflow to publish to PyPI (#97)
Fixes for geopandas-1.0.0 (#98)
Always use native Python types for list outputs (#101)
Version 0.7#
- Date:
7 December 2023
This is primarily a maintenance release.
Require FloPy 3.3.6 or later (#80)
Accommodate different reach index names
rno
orifno
since FloPy 3.5.0 (#83)Maintenance updates to work with the latest pandas and FloPy releases (#91)
Update
swn.file.gdf_to_shapefile()
to keep number data types (#79)
Version 0.6#
- Date:
25 May 2023
Breaking changes#
New things#
Add
swn.file.read_formatted_frame()
andwrite_formatted_frame()
methods (#62, #73)Add functionality to allow other MF6 packages to use reaches data with
modflow.SwnMf6.package_period_frame()
,write_package_period()
,flopy_package_period()
, andset_package_obj()
(#72)Add functionality to allow other MODFLOW packages to use reaches data with
modflow.SwnModflow.package_period_frame()
,write_package_period()
,flopy_package_period()
, andset_package_obj()
(#74)
Other changes#
Better
from_swn_flopy
performance (#57)Change
swn.spatial.find_location_pairs()
addingall_pairs
andexclude_branches
parameters (#68)
Deprecations#
Version 0.5#
- Date:
20 July 2022
Breaking changes#
Minimum requirements are Python 3.7, pandas 1.2 (#38)
Add outside segnum to modflow if it is downstream from others (#50)
Change behaviour of
SurfaceWaterNetwork.set_diversions()
which by default will now match to the closest segment line (#52)
New things#
Add
SurfaceWaterNetwork.locate_geoms()
method (#41, #48, #51)Add
run
option totopnet2ts()
, improve error messages (#44)Add routing methods:
SurfaceWaterNetwork.route_segnums()
,modflow.SwnModflow.route_reaches()
, andmodflow.SwnMf6.route_reaches()
(#45)Add
spatial
module functions:find_location_pairs()
andlocation_pair_geoms()
(#46)Add methods
modflow.SwnModflow.get_location_frame_reach_info()
andmodflow.SwnMf6.get_location_frame_reach_info()
(#49)Implement diversions for MODFLOW6 (#54)
Other changes#
Add packing dependency to check package version (#37)
Convert class attributes to properties for
modflow.SwnModflow.segment_data
andsegment_data_ts
(#42)Convert class attributes to properties for
modflow.SwnMf6.segments
,diversions
, andreaches
(#43)Rename
SurfaceWaterNetwork.query()
→gather_segnums()
; showDeprecationWarning
with former method (#47)Move project metadata to
pyproject.toml
, add a few optional dependencies (#53)
Version 0.4#
- Date:
20 October 2021
Breaking changes#
Change
SurfaceWaterNetwork(lines.geometry)
→SurfaceWaterNetwork.from_lines(lines.geometry)
Change
MfSfrNetwork(n, m, ...)
→SwnModflow.from_swn_flopy(n, m)
Legacy
modflow.MfSfrNetwork
kept, but will be dropped by version 0.6
New things#
Add
.to_pickle()
and.from_pickle()
methods to core classesSupport MODFLOW 6 models with
modflow.SwnMf6
(#12)Add
SurfaceWaterNetwork.segments_series()
andpair_segments_frame()
methods (#15)Add methods for setting stream bed elevations (#27)
Add
compat
module for compatibilityAdd Sphinx documentation, with doctests (#18)
Other changes#
Improve performance of
SurfaceWaterNetwork.from_lines()
(#33)Add
mult
multiplier totopnet2ts()
Use declarative configuration for project setup, remove
setup.py
(#35)
Version 0.3#
- Date:
10 March 2021
Version 0.2#
- Date:
11 December 2019
Create package setup, minimum version published on PyPI
Add citation based on New Zealand Hydrological Society Conference
Reorganised into modular structure
Added
plot()
functionsAdded string representations of main objects
Version 0.1#
- Date:
6 November 2019
Initial release
No license or package setup