Skip to main content

Umami calculates landscape metrics

Project description

Documentation Status Build Status Build status Coverage Status Anaconda-Server Badge Binder

What is it?

Umami is a package for calculating objective functions or objective function components for Earth surface dynamics modeling. It was designed to work well with terrainbento and other models built with the Landlab Toolkit. Examples can be found in the notebooks directory (or on Binder Binder ).

Umami offers two primary classes:

  • a Residual, which represents the difference between model and data, and
  • a Metric, which is a calculated value on either model or data.

The set of currently supported calculations are found in the umami.calculations submodule.

What does it do well?

Umami was designed to provide an input-file based interface for calculating single-value landscape metrics for use in model analysis. This supports reproducible analysis and systematic variation in metric construction. When used with terrainbento one input file can describe the model run, and one input file can describe the model assessment or model-data comparison. This streamlines model analysis applications. Umami also provides multiple output formats (YAML and Dakota), the latter of which is designed to interface with Sandia National Laboratory's Dakota package.

To get a sense of how it is meant to be used, check out the notebooks on Binder and the API documentation.

Where to get it

To install the release version of umami (this is probably what you want) we support conda and pip package management.

Using conda

Open a terminal and execute the following:

$ conda config --add channels conda-forge
$ conda install umami

Using pip

Open a terminal and execute the following:

$ pip install umami

From source code

The source code is housed on GitHub. To install the umami from source code we recommend creating a conda environment.

$ git clone https://github.com/TerrainBento/umami.git
$ cd umami
$ conda env create -f environment-dev.yml
$ conda activate umami-dev
$ python setup.py install

If you are interested in developing umami, please check out the development practices page.

Read the documentation

Documentation is housed on ReadTheDocs.

License

MIT

Report issues and get help

Umami uses Github Issue as a single point of contact for users and developers. To ask a question, report a bug, make a feature request, or to get in touch for any reason, please make an Issue.

Contribute to umami

All contributions are welcome.

Contributors and maintainers to this project are are expected to abide the Contributor Code of Conduct.

Cite umami

If you use umami in your research, please cite it.

A Journal of Open Source Software submission is planned. When it is finalized, a link and citation will be found here.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

umami-0.1.2-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file umami-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: umami-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for umami-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 879f8d3eda3d6348be3cd1f951f1bcf4817eaaaae8b8e634eae81c04255d7277
MD5 4fcb16ea47bc1d3b9417b53dd54563d4
BLAKE2b-256 e2c91c4858f8a67119819e867677892cba4a9da0a6a824be5c9ca3fd1addcbd8

See more details on using hashes here.

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