MicroHHpy
Description
Python package with utility functions for working with MicroHH LES/DNS.
The main purpose of microhhpy is to simplify complex workflows and case setups, such as setting up nested simulations with open boundary conditions. Basic scripts for handling MicroHH input and output are still available in microhh/python/microhh_tools.py and other scripts like cross_to_nc.py.
Most of the functionality of microhhpy is demonstrated in the notebooks located in microhhpy/examples.
Usage
The recommended way to install microhhpy is via PyPI:
pip install microhhpy
For development, you can clone the repository and make microhhpy available in one of three ways:
-
Editable install with
pip. Clone the source code from Github, and install it (preferably in a development virtual environment) using:pip install -e /path/to/microhhpy -
Without
pip, you can exposemicrohhpyby adding it to yourPYTHONPATH:export PYTHONPATH="${PYTHONPATH}:/path/to/microhhpy" -
Or append the path directly in your Python script before importing:
import sys sys.path.append('/path/to/microhhpy')
Once set up, you can import microhhpy modules, for example:
from microhhpy.spatial import Domain
from microhhpy.spatial import Projection
Metadata
Release files for microhhpy 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| microhhpy-0.1.14.tar.gz | 644.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| microhhpy-0.1.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / microhhpy-0.1.14.tar.gz
| Download URL | microhhpy-0.1.14.tar.gz |
|---|---|
| Size | 644.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1fc2432bfce60b2613def3e57b155277051f2a87803499286ef4276f145ef49
|
|
BLAKE2b-256 checksum How to use checksums |
634ec697864522d3f569016badd717d971a52645011710ebba1e49519ba6c450
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / microhhpy-0.1.14-py3-none-any.whl
| Download URL | microhhpy-0.1.14-py3-none-any.whl |
|---|---|
| Size | 668.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d1a98e0b08fe95e53c0b8dfa411906913df0fc227703fb1ac56ac2399102d38
|
|
BLAKE2b-256 checksum How to use checksums |
3c384bbf39e585613e21e46ec32e2a8f7101a9d2de0b68dcb556445db0a1d74a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|