Skip to content

Hydrology-IFH/hillslope-generator

Repository files navigation

Hillsope generator

Generates an artificial hillslope. The following hillslope shapes are available:

  • straight
  • concave
  • convex
  • noisy

Usage

First step: Download the repository and install required Python packages in an environment:

git clone https://github.com/Hydrology-IFH/hillslope_generator.git
cd hillslope_generator
conda env create -f conda-environment.yml

IMPORTANT: Add the folder containing the package to your PYTHONPATH! Modify your .bashrc-file.

Second step: Activate the anaconda environment and and move into the direcory of hillslope_generator:

conda activate hillgen

Straight hillslope

python hillslope_generator.py --hillslope-shape straight --nrows 12 --ncols 24 --bottom 10 --top 20 --cell-width 10 --write-output

Concave hillslope

python hillslope_generator.py --hillslope-shape concave --nrows 12 --ncols 24 --bottom 10 --top 20 --cell-width 10 --write-output

Convex hillslope

python hillslope_generator.py --hillslope-shape convex --nrows 12 --ncols 24 --bottom 10 --top 20 --cell-width 10 --write-output

Noisy hillslope

python hillslope_generator.py --hillslope-shape noisy --nrows 12 --ncols 24 --bottom 10 --top 20 --cell-width 10 --write-output

License

This software can be distributed freely under the MIT license. Please read the LICENSE for further information. © 2022, Robin Schwemmle ([email protected])

About

Artificial hillslope generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages