Yanked
This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: outdated and pypi install no longer supported
rabpro
longitudinal river profiles, global watershed delineation, watershed stats
Setup
Software
conda env create -f environment.yml
source activate rabpro
# set use-feature to silence deprecation warning
# pip install --use-feature=in-tree-build .
Data
Locate the MERIT DEM "tile" of interest and run Data/scripts/get_merit_dem.py with username and password arguments.
python Data/scripts/get_merit_dem.py n30w090 <username> <password>
Download Hydrobasins levels 1 and 12 using Data/scripts/get_hydrobasins.py
Usage
command line
python rabpro/run_rabpro.py
python
import geopandas as gpd
import rabpro
from rabpro import utils
from rabpro.subbasin_stats import Dataset
# verify pathing setup "works"
# utils.get_rabpropath()
# utils.get_datapaths()
coords_file = gpd.read_file(r"tests/test_data/Big Blue River.geojson")
rpo = rabpro.profiler(coords_file)
rpo.delineate_basins() # requires hydrobasins levels 1 and 12
# name = "test"
# rpo.basins.to_file('Data/gaugebasin_shp/'+name+'.shp',driver='ESRI Shapefile')
rpo.elev_profile() # requires merit-dem (this ex. requires n30w090 [elv, fdr, upa, wth])
rpo.basin_stats([Dataset("JRC/GSW1_3/GlobalSurfaceWater", "occurrence")]) # requires Google Earth Engine access
Metadata
Release files for rabpro 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rabpro-0.2.2.tar.gz | 31.5 kB | Details |
Release files / rabpro-0.2.2.tar.gz
| Download URL | rabpro-0.2.2.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f4eccb3c554282145dae01aa5b5a36ed298fa2dc2c3f32ced5e2e977b0e917c
|
|
BLAKE2b-256 checksum How to use checksums |
e77f87eeee1811820c4e4c221506041cd3b228aad4981725083ccd856c06dd83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|