A yt plugin for loading ASPECT output
Project description
yt_aspect
This package is a plugin for yt that adds a frontend for ASPECT unstructured mesh output. Currently in initial testing...
Installation
Use pip to install:
pip install yt-aspect
To install a development version, clone this repository, cd
into the clone and then install locally with
pip install -e .
A number of dependencies will be installed for you, including yt
if you don't already have it.
Usage
To load a single timestep:
import yt
import yt_aspect
ds = yt.load('output_convection_box_3d/solution/solution-00000.pvtu')
From there, you can work with the dataset as a normal yt dataset. Until there are ASPECT specific examples in this repository, check out the main yt documentation for examples.
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
yt_aspect-0.0.2.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for yt_aspect-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b6e8af73551c71d2d25a127217589f2b0f6179f85f288c5695f5ac905bbdc1f |
|
MD5 | 1a0eb77635befe2d0ab2818ce22ff263 |
|
BLAKE2b-256 | a5d7471d15e9eec8b111d37db45ebaf764cde12e96b3d1f838c9adccf8f10ca3 |