Skip to main content

Channel Depletions Model

Project description

Code repo for DETAW and Delta Channel Depletions Model.

Installation

Developer Installation

First clone the deltacd package.

It is a good practice to create a new environment to setup the package. Create an environment with a suitable my_env_name e.g. deltacd.

conda create -n my_env_name python=3.8

Once the my_env_name environment is created, activate it using

conda activate my_env_name

Installing the package can be accomplished by

pip install -e .

These steps create an environment and install the deltacd package which can then be accessed from the command line.

Usage

The deltacd package has two models, detaw and dcd. They can be accessed from the command line once the environment is activated.

The detaw model is run first

detaw .\detaw_dsm2.yaml

Followed by dcd

dcd .\dcd_dsm2.yaml

Example yaml and input files are provided in the examples directory in the deltacd package. While not required, it would be a good practice to make a copy of the examples directory to a project or working directory and rename it suitably.

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

deltacd-0.8.1.tar.gz (49.2 kB view hashes)

Uploaded Source

Built Distribution

deltacd-0.8.1-py2.py3-none-any.whl (34.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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