Skip to content

Commit

Permalink
Bump version number; update docs with extract_profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbartos committed Feb 27, 2022
1 parent d9c3716 commit 3553a14
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ ax.set_title('Soil types (raster)', size=14)
- `stream_order` : Compute the (strahler) stream order.
- `extract_river_network` : Extract river segments from a catchment and return a geojson
object.
- `extract_profiles` : Extract river segments and return a list of channel indices along with a dictionary describing connectivity.
- `cell_dh` : Compute the drop in elevation from each cell to its downstream neighbor.
- `cell_distances` : Compute the distance from each cell to its downstream neighbor.
- `cell_slopes` : Compute the slope between each cell and its downstream neighbor.
Expand Down Expand Up @@ -471,6 +472,7 @@ Performance benchmarks on a 2015 MacBook Pro (M: million, K: thousand):
| `hand` | MFD | 36M total, 770K channel | 29.8 [s] |
| `stream_order` | D8 | 36M total, 1M channel | 3.99 [s] |
| `extract_river_network` | D8 | 36M total, 345K channel | 4.07 [s] |
| `extract_profiles` | D8 | 36M total, 345K channel | 2.89 [s] |
| `detect_pits` | N/A | 36M | 1.80 [s] |
| `detect_flats` | N/A | 36M | 1.84 [s] |
| `fill_pits` | N/A | 36M | 2.52 [s] |
Expand Down
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ ax.set_title('Soil types (raster)', size=14)
- `stream_order` : Compute the (strahler) stream order.
- `extract_river_network` : Extract river segments from a catchment and return a geojson
object.
- `extract_profiles` : Extract river segments and return a list of channel indices along with a dictionary describing connectivity.
- `cell_dh` : Compute the drop in elevation from each cell to its downstream neighbor.
- `cell_distances` : Compute the distance from each cell to its downstream neighbor.
- `cell_slopes` : Compute the slope between each cell and its downstream neighbor.
Expand Down Expand Up @@ -475,6 +476,7 @@ Performance benchmarks on a 2015 MacBook Pro (M: million, K: thousand):
| `hand` | MFD | 36M total, 770K channel | 29.8 [s] |
| `stream_order` | D8 | 36M total, 1M channel | 3.99 [s] |
| `extract_river_network` | D8 | 36M total, 345K channel | 4.07 [s] |
| `extract_profiles` | D8 | 36M total, 345K channel | 2.89 [s] |
| `detect_pits` | N/A | 36M | 1.80 [s] |
| `detect_flats` | N/A | 36M | 1.84 [s] |
| `fill_pits` | N/A | 36M | 2.52 [s] |
Expand Down
2 changes: 1 addition & 1 deletion pysheds/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.2"
__version__ = "0.3.3"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

setup(name='pysheds',
version='0.3.2',
version='0.3.3',
description='🌎 Simple and fast watershed delineation in python.',
author='Matt Bartos',
author_email='mdbartos@umich.edu',
Expand Down

0 comments on commit 3553a14

Please sign in to comment.