yt_aspect
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.
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
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.
Metadata
Release files for yt-aspect 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yt_aspect-0.2.1.tar.gz | 14.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yt_aspect-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.9 kB
Release files / yt_aspect-0.2.1.tar.gz
| Download URL | yt_aspect-0.2.1.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e24e2281c65b332909230300907f741e82b9c7b81de5207ab7ec5a0d4506ff
|
|
BLAKE2b-256 checksum How to use checksums |
c5b25faff873d4ab65082d384fedeae9dfe44e28f1ea00d55d6886ddb5341358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / yt_aspect-0.2.1-py3-none-any.whl
| Download URL | yt_aspect-0.2.1-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
319cac23824fd2bd907d7d06731fca520d9102c371268f34550a7f9b3c24e81d
|
|
BLAKE2b-256 checksum How to use checksums |
3ec5ac635563ed3b5db7de378dfe391a53387baddd6f6f5d277c14f4ba2cfecf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|