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.3.0.tar.gz (128.2 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.3.0-py3-none-any.whl (143.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for boutdata-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d76dd6fc1f5d916006a5e5d6db9b2835f5b5eb94c675169fd2529fc36c820323
MD5 315f21631dc61caf35fdd05f90117f32
BLAKE2b-256 a4dadac129bbc7d1b8e4cbfca8baa1a216796be53b8c195c33736ae679d8ef9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for boutdata-0.3.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.3.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for boutdata-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12681d8187b7194a5c86834ebbc270604ea019c97c444f475854d03c48ada00b
MD5 5ee26dcfea669c98e3267e40db1a6887
BLAKE2b-256 f4804fe77271667dc9af61e4ffefd53ed9191615d8452bbff12d57781320b0c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for boutdata-0.3.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