Skip to main content

Comparison tool for ADIOS2 bp output

Project description

bpcmp

Utility which allows for the comparison of two ADIOS2 bp output. The user must specify the location of the output and can use verbose output, set the absolute and relative tolerances for float type variables, and specify attributes and variables to ignore.

Inspired by this gist.

Floating point comparison done using numpy allclose.

Install with pip:

pip install -e .

Usage:

bpcmp out1.bp out2.bp

All of the arguments are optional.

Argument Description
-v LEVEL Use for verbose output level (0,1,2) = (nothing, errors only, everything)
-r RTOL Set the relative tolerance when comparing float variables (default is zero)
-a ATOL Set the absolute tolerance when comparing float variables (default is zero)
--ignore-atts IGNORE_ATTS Provide list of attributes to ignore
--ignore-vars IGNORE_VARS Provide list of variables to ignore
bpcmp out1.bp out.bp -v 1 -r 0.000001 -a 0.0001 --ignore-atts att1 att2 --ignore-vars var1 var2

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

bpcmp-0.0.3.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

bpcmp-0.0.3-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file bpcmp-0.0.3.tar.gz.

File metadata

  • Download URL: bpcmp-0.0.3.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for bpcmp-0.0.3.tar.gz
Algorithm Hash digest
SHA256 36c04082927777da67e7f3516e93cbd676f0182668f260cd8ac8b393fcbd9653
MD5 4b8dacfe99261f767e5b04ae6434014f
BLAKE2b-256 21bde4082e0b97e3fb0fb63ecbf37b2aef479eac3caf780dafd05f7fce983bab

See more details on using hashes here.

File details

Details for the file bpcmp-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: bpcmp-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for bpcmp-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 05ef93170e4eddfd6076a5c110c5af67fb29be9f485f9cef40b71106efcf0d05
MD5 5bf8ac9a81ba638791c316f464c430ec
BLAKE2b-256 c6b33ae72e439e60b57fef2f717bf686c08cc9eefb74cb0759b7f42ff3ee92f3

See more details on using hashes here.

Supported by

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