Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdpiper/pymt_heatc
PyMT component for the C BMI example
https://github.com/mdpiper/pymt_heatc
bmi c csdms pymt
Last synced: 26 days ago
JSON representation
PyMT component for the C BMI example
- Host: GitHub
- URL: https://github.com/mdpiper/pymt_heatc
- Owner: mdpiper
- License: mit
- Created: 2020-02-21T23:46:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T18:58:40.000Z (about 1 year ago)
- Last Synced: 2024-06-12T17:33:30.521Z (7 months ago)
- Topics: bmi, c, csdms, pymt
- Language: Cython
- Homepage: https://bmi.readthedocs.io
- Size: 70.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
==========
pymt_heatc
==========This is an example of building a model,
written in C and wrapped in Python with the `babelizer `_,
with the `meson-python `_ build system
using a ``pyproject.toml`` file to describe the build.Build/Install
-------------This is a sketch of how to build and install this project.
1. Create the conda environment from `environment.yml` and activate it.
2. Build/install the `C BMI example `_
3. Build/install this project with ``make install``Use
---Import the standalone project into a Python session:
.. code-block:: python
>>> import pymt_heatc
Import the *pymt* component:
.. code-block:: python
>>> from pymt.MODELS import HeatModelC
Try the examples in the `examples` directory.