pip-package of what is found in
BOUT-dev/tools/pylib/boutdata will likely be replaced by this repo
See this issue,
this pull request and
this pull request for details.
NOTE: This package will likely be superseded by
xBOUTin the near future
sudo apt-get install libhdf5-serial-dev netcdf-bin libnetcdf-dev
pip install boutdata
or in a Conda environment:
conda install -c conda-forge boutdata
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 provides tab-completion of arguments if argcomplete is installed and activated (see https://kislyuk.github.io/argcomplete/).