File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,32 @@ pymt_heatf
3
3
==========
4
4
5
5
This is an example of building a model,
6
- written in Fortran and wrapped in Python with the * babelizer * ,
7
- with the * meson-python * build system
6
+ written in Fortran and wrapped in Python with the ` babelizer < https://github.com/csdms/babelizer >`_ ,
7
+ with the ` meson-python < https://meson-python.readthedocs.io/en/latest/ >`_ build system
8
8
using a ``pyproject.toml `` file to describe the build.
9
9
10
10
Build/Install
11
11
-------------
12
12
13
13
This is a sketch of how to build and install this project.
14
14
15
- 1. Create the conda environment from `environment.yml `.
16
- 2. Build/install the `Fortran BMI specification <https://github.com/csdms/bmi-fortran/#buildinstall >`_
17
- 3. Build/install the `Fortran BMI example <https://github.com/csdms/bmi-example-fortran/#buildinstall >`_
18
- 4. Build/install this project with ``make install ``
15
+ 1. Create the conda environment from `environment.yml ` and activate it
16
+ 2. Build/install the `Fortran BMI example <https://github.com/csdms/bmi-example-fortran/#buildinstall >`_
17
+ 3. Build/install this project with ``make install ``
19
18
20
19
Use
21
20
---
22
21
22
+ Import the standalone project into a Python session:
23
+
24
+ .. code-block :: python
25
+
26
+ >> > import pymt_heatf
27
+
28
+ Import the *pymt * component:
29
+
30
+ .. code-block :: python
31
+
32
+ >> > from pymt.MODELS import HeatModelF
33
+
23
34
Try the examples in the `examples ` directory.
You can’t perform that action at this time.
0 commit comments