Skip to main content

Preprocessor for the Natural Capital Project's RIOS software package

Project description

Homepages

Visit the Viridian Logic homepage at viridianlogic.com

Visit the home of RIOS on the web at naturalcapitalproject.org

Discuss

Talk to us at Viridian Logic through our website

Looking for a place to ask questions about RIOS? Check out the Natural Capital Project forums!

Documentation

rios_preprocessor is meant as a replacement for the ArcGIS python code that currently produces the inputs for the main RIOS program.

rios_preprocessor produces rasters of:

  • Downslope retention index

  • Upslope source

  • Riparian index

  • Slope index

that are used as input for the following RIOS objectives:

  • Erosion Control

  • Nitrogen Retention

  • Phosphorus

  • Flood Mitigation

  • Groundwater Recharge/Baseflow

Along the way, there are some additional tricks rios_preprocessor uses that may be useful in other contexts:

  • rasterizes an input shapefile river network and matches it to a (raster) DEM/DTM

  • identifies discontinuous river banks along a rasterized river

  • identifies the end points of rasterized rivers

Dependencies

  • numpy

  • pandas

  • geopandas

  • fiona

  • rasterio > 0.36

  • shapely

  • pygeoprocessing ~= 0.3.3

Installation

pip install rios_preprocessor

Changelog

Version 0.1.8

  • Deprecated GDAL style transforms in line with rasterio > 0.36

  • Set upper limit on pygeoprocessing to retain flow algorithms

  • Minor bug fixes

Version 0.1.7

  • Minor bug fixes

Version 0.1.6

  • Implemented logging

  • PEP8 fixes

Version 0.1.5

  • Python 3 style print statement fixing

  • Cleaned up documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rios_preprocessor-0.1.8.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

rios_preprocessor-0.1.8-py2-none-any.whl (26.4 kB view details)

Uploaded Python 2

File details

Details for the file rios_preprocessor-0.1.8.tar.gz.

File metadata

File hashes

Hashes for rios_preprocessor-0.1.8.tar.gz
Algorithm Hash digest
SHA256 9121a8b0f5a9f53d3cbdc966f34f58e36ec6b80d6da34a6c4e60cb2535363f97
MD5 b34f001a07414fb4bf4cb9e74d301e6b
BLAKE2b-256 ebf028faef2a5d4a542e315b4d228cd575ce9d8bbefa9fbf6d4ac5620f647fc8

See more details on using hashes here.

File details

Details for the file rios_preprocessor-0.1.8-py2-none-any.whl.

File metadata

File hashes

Hashes for rios_preprocessor-0.1.8-py2-none-any.whl
Algorithm Hash digest
SHA256 dd07e4b845a8a574544283109d629028b760c4b117eec8e3d5e31ec1e51c8856
MD5 d0f07df04f51bd4ecd0e34d324504978
BLAKE2b-256 4201203ded9ac437aee8b834b2e0d80286eabe6a72690729cfe3850a2a8e0552

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page