Skip to main content

A yt plugin for loading ASPECT output

Project description


This package is a plugin for yt that adds a frontend for ASPECT unstructured mesh output in .pvtu format. It also includes a general .pvtu frontend.


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.


To load a single timestep:

import yt

ds = yt.load('output_convection_box_3d/solution/solution-00000.pvtu')

From there, you can work with the dataset as a normal yt dataset (though not all functionality will work -- open an issue here if something you need doesn't work!). Until there are ASPECT specific examples in this repository, check out the main yt documentation for examples.

Bugs and Requests

This is still in an experimental stage, so you will likely find bugs and missing features! Feel free to open an issue, contact us via slack or submit pull requests.

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.2.1.tar.gz (14.0 kB view hashes)

Uploaded Source

Built Distribution

yt_aspect-0.2.1-py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page