Skip to main content

The land ice verification and validation toolkit

LIVVkit is a python-based toolkit for verification and validation of ice sheet models. It aims to provide the following capabilities:

Model V&V

  • Numerical verification -- "Are we solving the equations correctly?"
  • Physical validation -- "Are we using the right physics?"

Software V&V

  • Code verification -- "did we build what we intended?"
  • Performance validation -- "did we build what the users wanted?"

Within LIVVkit, these capabilities are broken into four components:

Model V&V

  • Numerics
  • Validation

Software V&V

  • Verification
  • Performance

Currently, LIVVkit is being used and developed in conjunction with E3SM (Energy Exascale Earth System Model) and CISM (Community Ice Sheet Model), but is designed to be extensible to other models. For further documentation view the full documentation.

Users and contributors are welcome! We’ll help you out – open an issue on github to contact us for any reason.

Installation

The latest LIVVkit release can be installed via pip:

pip install livvkit

Additionally, LIVVkit is released on github, and you can clone the source code:

git clone https://github.com/LIVVkit/LIVVkit.git

If you are having any troubles with installation or dependencies, open an issue on the issue tracker or contact us!

Usage

LIVVkit is primarily controlled via options specified at the command line. To see the full list of options, run:

livv -h

Verification

In verification mode, LIVVkit analyzes and compares a regression testing dataset to a reference dataset. For example, LIVVkit may analyze the dataset produced from a proposed CISM 2.0.6 release (~400MB; download here) and compare it to the dataset produced from the CISM 2.0.0 release (~400MB; download here). To run this example, first download the two aforementioned datasets to a directory, open a terminal, and navigate to your download directory. Then, un-tar the datasets:

tar -zxvf cism-2.0.0-tests.20160728.tgz
tar -zxvf cism-2.0.6-tests.20160728.tgz

For ease, export the path to the two dataset directories:

export REF=$PWD/cism-2.0.0-tests/titan-gnu/CISM_glissade
export TEST=$PWD/cism-2.0.6-tests/titan-gnu/CISM_glissade

To run the suite, use:

livv -v $TEST $REF -o cism206v200 -s

LIVVkit will run the verification suite, report a summary of the results on the command line, produce an output website in the created cism206v200 directory specified by the -o/--out-dir option, and launch an http server (the -s/--serve option) to easily view the output in your favorite web browser. LIVVkit will tell you the address to view the website at on the command line, which will typically look like http://0.0.0.0:8000/ver_test/index.html.

Validation, Extensions

LIVVkit is extensible to more in-depth or larger validation analyses. However, because these validation analyses are particularly data intensive, many of the observational and example model output files are much too large to distribute in the LIVVkit package. Therefore, we've developed a LIVVkit Extensions repository (LEX) which uses git-lfs (Git Large File Support) in order to distribute the required data. git-lfs can be installed either before or after cloning this repository, but it will be needed before downloading the required data. You can determine if you have git-lfs installed on your system by running this command:

command -v git-lfs

If git-lfs is not installed, you can install it by following the instructions here:

https://git-lfs.github.com

Once git-lfs is installed, clone and enter this repository:

git lfs clone https://code.ornl.gov/LIVVkit/lex.git
cd lex

Each extension will have an associated JSON configuration file which will describe the extension's analysis code, data locations, and options. To see a list of available extensions, you can run this command:

find . -iname "*.json"

To execute any of these extensions, point livv to any of these extensions config file via the -e/--extension option (or the -V/--validate option). For example, to run the minimal example extension, place the output website in the val_test directory, and serve the output website you'd run this command:

livv -e example/example.json -o vv_test -s

Note: All the extension configurations files assume you are working from the top level lex directory. You can run any of these extensions from any directory, but you will need to edit the paths in the JSON configuration files so that livv can find the required files.

Likewise, you can also apply these analyses to any new model run by adjusting the paths to point to your model run.

More

For more information about using LIVVkit see the documentation.

Contact

If you would like to suggest features, request tests, discuss contributions, report bugs, ask questions, or contact us for any reason, use the Issue Tracker.

Want to send us a private message?

Joseph H. Kennedy

Katherine J. Evans

If you're emailing us, we recommend CC-ing all of us.

Download files

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

Source Distribution

livvkit-3.4.1.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livvkit-3.4.1-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

Details for the file livvkit-3.4.1.tar.gz.

File metadata

  • Download URL: livvkit-3.4.1.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for livvkit-3.4.1.tar.gz
Algorithm Hash digest
SHA256 93f61c6169c0f64239435616981321558648d70d001fb3b4656c7b4582e06b61
MD5 a3cff0bcb119b8ef4d83851a922082e5
BLAKE2b-256 50b5e6a88593b608c5c6035acf68f1c24270d4972578a7b1b6f2fe76275bc1e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for livvkit-3.4.1.tar.gz:

Publisher: python-publish.yml on LIVVkit/LIVVkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file livvkit-3.4.1-py3-none-any.whl.

File metadata

  • Download URL: livvkit-3.4.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for livvkit-3.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b1f5df9a5af32ab261de9e52473266f28a957df19bdedf9fe8f97b9f6be7200
MD5 fc4f98be705960b64179d6774f77d1dc
BLAKE2b-256 782de837c9e6fc715132357701fc5fce30f3c34512800ef8b73a03bba3c126ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for livvkit-3.4.1-py3-none-any.whl:

Publisher: python-publish.yml on LIVVkit/LIVVkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

3.4.1 This release

2 files

3.4.0

2 files

3.3.1

2 files

3.3.0

2 files

3.2.0

2 files

3.1.0

2 files

3.0.1

2 files

3.0.0

2 files

2.1.6

2 files

2.1.5

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page