Nismod-snail

Latest version: v0.5.0

Safety actively analyzes 622315 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.0

Features
- add `-x` or `--experimental` flag to command line tool to opt in to the "experimental" polygon splitting method

Fixes
- Fix geopandas `FutureWarning` about use of geom_almost_equals

0.4.1

Features
- interpolate between two damage curves

Fixes
- polygon intersection grid extent width/height was flipped, leading to empty "splits" for polygons which should have intersected the grid

0.4.0

Features
- add `PiecewiseLinearDamageCurve` damage curve objects intended to encode commonly-implemented
details for direct damage assessment
- methods to apply curve to exposure, scale/translate curves
- improve polygon-raster intersection speed
- update tutorials

0.3.2

Fixes
- Ensure series split column is present - avoids an occasional pandas index error
- Fix check against raster width and height when calculating indices (>= not >)
- Return NaN for out-of-bounds split elements

0.3.1

Features
- rewrite python packaging build to use scikit-build-core and drop setuptools

Fixes
- fix build/import on Windows (import `shapely.geometry` from within the C++ module only on function call, rather than at import/evaluation time)

0.3.0

Features
- revised snail split, process commands
- explore wrapping igraph for routing queries

Notes
- minimum supported Python version is 3.8
- added pyarrow and python-igraph dependencies

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.