🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

boutdata

Package Overview
Dependencies
Maintainers
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boutdata

Python package for collecting BOUT++ data

0.3.0
PyPI
Maintainers
4

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/).

Keywords

bout++

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts