Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdpiper/bmi-example-python-parameter-study
A parameter study of the Heat model from the Python BMI example
https://github.com/mdpiper/bmi-example-python-parameter-study
bmi csdms python
Last synced: 11 days ago
JSON representation
A parameter study of the Heat model from the Python BMI example
- Host: GitHub
- URL: https://github.com/mdpiper/bmi-example-python-parameter-study
- Owner: mdpiper
- License: mit
- Created: 2024-04-26T14:40:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T01:54:23.000Z (4 months ago)
- Last Synced: 2024-09-13T14:46:21.217Z (4 months ago)
- Topics: bmi, csdms, python
- Language: Python
- Homepage: https://bmi.readthedocs.io
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bmi-example-python-parameter-study
A parameter study of the *Heat* model
from the Python [Basic Model Interface][bmi] (BMI) [example][example],
run through its BMI.## Install
To install the *bmiheat-parameter-study* package,
clone this repository,
set up a virtual environment,
and run `pip install`.
```bash
pip install -e .
```## Setup
Run the `setup` subcommand to generate a set of *BmiHeat* configuration files for the parameter study.
```bash
bmiheat-parameter-study setup study-config.yaml
```## Run
Use the `run` subcommand to run the *BmiHeat* model through each of the parameter sets defined in the configuration files.
```bash
bmiheat-parameter-study run heat-config-1.yaml
bmiheat-parameter-study run heat-config-2.yaml
bmiheat-parameter-study run heat-config-3.yaml
...
```Each call to the `run` subcommand writes a statistic to the console.
Collect these statistics to complete the parameter study.[bmi]: https://bmi.readthedocs.io
[example]: https://github.com/csdms/bmi-example-python