Requirements

Time requirement: 5-10 min.

To get the code running, the following software is needed and their installation instructions are provided below:

fitter>=1.5.2
matplotlib>=3.1.2
numpy>=1.17.4
openpyxl>=3.0.9
pandas>=1.3.5
scikit_learn>=1.2.0
scikit_posthocs>=0.7.0
scipy>=1.7.3
seaborn>=0.12.2
statannotations>=0.5.0
statsmodels>=0.13.5

Tip

New to Python?

Start with downloading and installing the latest version of Anaconda Python. Alternatively, downloading and installing a pure Python interpreter will also work. Detailed information about installing Python is available in the Anaconda Docs and at hydro-informatics.com/python-basics.

To install the requirements in a new conda environment, download our specific environment.yml. Then open Anaconda Prompt (e.g., click on the Windows icon, tap anaconda prompt, and hit enter``). In Anaconda Prompt, enter the following command sequence to install the libraries in the base environment. The installation may take a while depending on your internet speed.

conda env create -f environment.yml

This will have created a new conda environment named bed-data-env. After the installation, activate the environment:

conda activate bed-data-env

If you are struggling with the dark window and blinking cursor of Anaconda Prompt, worry not. You can also pip-install the requirements following the instructions on hydro-informatics.com for virtual environments.

Get Code and Data

Open any git-able Terminal (get git at https://git-scm.com), and enter:

https://github.com/sschwindt/bedload-seasons.git