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
File details
Details for the file boutdata-0.2.1.tar.gz
.
File metadata
- Download URL: boutdata-0.2.1.tar.gz
- Upload date:
- Size: 75.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 043cddaeb38b128d2525f2005f48a5b7717ff5832a932183a4bef1d3eae389e0 |
|
MD5 | 2144da8b451f4254c973d0984d34aa8f |
|
BLAKE2b-256 | 3cbb146893b8064cdaa46168bb402a94282ccd0af62a5770a02fdadaefa2f8cb |
File details
Details for the file boutdata-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: boutdata-0.2.1-py3-none-any.whl
- Upload date:
- Size: 79.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc272fb73664ba7c3f4c10a995adda8bb34315c2ef3c74a644788b66cb46e5c9 |
|
MD5 | 82392598d6c8895c6251a5d4b866f704 |
|
BLAKE2b-256 | 79309c1d39f1e4320a36e159313a3ef69e4c19caad57c39e894a35e821906179 |