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.2.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.2-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpcmp-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5c9fc52eea5fde2a207be82f5bb1b9184112a1ffb56115eaf676b8bb9eb77e5e
MD5 9859c7065b1db2d7d61647e6d2293560
BLAKE2b-256 552c69a7dddf66971efd0ae668d1c751e19e143c4511812975163c9fd22eb12c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bpcmp-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 35f6b24cfd383c7cc326caec44cea243bbda752df5e8a780fd0c95a3344e0410
MD5 ca69ad14767d83221f49fed0e02c737a
BLAKE2b-256 d985e8a839424b9a3e0d6d061f7cf39d9c3712c4b4e8d009a04f554c4cb6e54c

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