Python package for collecting BOUT++ data
Project description
boutdata
pip-package of what is found in BOUT-dev/tools/pylib/boutdata
.
Note that BOUT-dev/tools/pylib/boutdata
will likely be replaced by this repo
in BOUT++ v4.3.0
.
See this issue,
this pull request and
this pull request for details.
NOTE: This package will likely be superseded by
xBOUT
in the near future
Dependencies
boutdata
depends on boututils
which again depends on
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for boutdata-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5368536a965105274fc80b228f419000cb4f94256f1a61bd0a54f57379bc410 |
|
MD5 | 4d75e2e8069a015c59c553ad747bb184 |
|
BLAKE2b-256 | f42fca81cd8338c99142275de3344e6c09a4b5419d142b9192386b685a46ab94 |