Skip to main content

Python package for collecting BOUT++ data

Project description

boutdata

Build Status codecov Python pypi package PEP8 License

Python tools for working with BOUT++.

NOTE: This package will likely be superseded by xBOUT in the near future

Dependencies

boutdata uses netcfd4 which requires HDF5 and netcdf-4 are installed, and that the nc-config utility is in your PATH. This can be install with

sudo apt-get install libhdf5-serial-dev netcdf-bin libnetcdf-dev

in ubuntu

Install

pip install boutdata

or in a Conda environment:

conda install -c conda-forge boutdata

Examples

Reading data from dump files:

from boutdata import collect
ni = collect("Ni")

When boutdata is installed as a package (e.g. with pip or conda), a command-line program is provided as an interface to squashoutput:

$ bout-squashoutput

bout-squashoutput provides tab-completion of arguments if argcomplete is installed and activated (see https://kislyuk.github.io/argcomplete/).

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

boutdata-0.4.0.tar.gz (129.8 kB view details)

Uploaded Source

Built Distribution

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

boutdata-0.4.0-py3-none-any.whl (145.3 kB view details)

Uploaded Python 3

File details

Details for the file boutdata-0.4.0.tar.gz.

File metadata

  • Download URL: boutdata-0.4.0.tar.gz
  • Upload date:
  • Size: 129.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for boutdata-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c9bf500e9423a96e8018510ed9899631cd37d5b4ffcb5de90279acc73c835cc6
MD5 6a9b7e2c3cb0f29e4b5484250d61cf30
BLAKE2b-256 767acff8506be0b06a5b79b47d55ff9726de83ba36e42259ab2150f0710478b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for boutdata-0.4.0.tar.gz:

Publisher: python_publish.yml on boutproject/boutdata

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

File details

Details for the file boutdata-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: boutdata-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 145.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for boutdata-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edc70ae5720411513c0fae317f465a1e329ab741b9c6f03dd8909cb6222cd7eb
MD5 e9c180c4c549973dd2d5b2f8205abfba
BLAKE2b-256 dafb32150f7c870352a4867b6bd7065480f9322f53f94adced06fd15cf26545d

See more details on using hashes here.

Provenance

The following attestation bundles were made for boutdata-0.4.0-py3-none-any.whl:

Publisher: python_publish.yml on boutproject/boutdata

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

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