pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/csdms/bmi-example-python

k crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-8522af645b000615.css" /> GitHub - csdms/bmi-example-python: An example of wrapping a model written in Python with a BMI · GitHub
Skip to content

csdms/bmi-example-python

Repository files navigation

Basic Model Interface CI status Coverage status Black

bmi-example-python

An example of implementing the Python bindings for the CSDMS Basic Model Interface (BMI).

Overview

This is an example of implementing a BMI for a simple model that solves the diffusion equation on a uniform rectangular plate with Dirichlet boundary conditions. The model and its BMI are written in Python 3. Tests of the BMI are provided.

This repository is organized with the following directories:

heat
Source code for the model and its BMI
examples
Jupyter Notebooks that demonstrate how to run the model through its BMI
tests
Tests that cover the BMI of the model

Build/Install

This example can be built and installed on Linux, macOS, and Windows.

Prerequisites:

  • Python 3
  • The Python BMI bindings. Follow the build and install directions given in the README in that repository. You can choose to install them from source, or through pip or conda.

To build/install this example from source, using the current Python BMI version, run

$ pip install -e .

To run the tests,

$ pip install -r requirements-testing.txt
$ make test

About

An example of wrapping a model written in Python with a BMI

Topics

Resources

License

Stars

Watchers

Forks

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy