Skip to content

Latest commit

 

History

History

examples

Two examples--a Python script and a Jupyter notebook--that demonstrate how to run the containerized Python Heat model through the grpc4bmi server built in this project.

In a virtual environment, install grpc4bmi and other dependencies:

pip install -r requirements.txt

Run the Python example:

python run-model-through-grpc4bmi.py

It'll produce output in the terminal.

Start JupyterLab and run the example notebook:

jupyter lab run-model-through-grpc4bmi.ipynb