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 choose for 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 Use for verbose output of comparison
-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 -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.1.tar.gz (18.0 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.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpcmp-0.0.1.tar.gz
  • Upload date:
  • Size: 18.0 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.1.tar.gz
Algorithm Hash digest
SHA256 ada0c9af99104456a654acde26058aee6bdf218cf7fd4e9a25edf66a2ac594f8
MD5 9a6a9e31fa18d75b80dfd15235ee8bee
BLAKE2b-256 0aa92da4e639f5ce4481056ca2dbfb324cc9ac1c38692c7a27277d476e0a1ea4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bpcmp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48bd3e666401d1f39e4534de46b4b173c968ac0bdec344b0ca2f44038cc4d3f1
MD5 a3520473dbf8000bc1ff8bbe850ec407
BLAKE2b-256 8dc3f40a0660cabe58e356a9d97ceb49364178a3d88b68fd17a958369ef2a5e0

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