MPilot is a plugin-based, environmental modeling framework
Project description
MPilot
MPilot is a plugin-based, environmental modeling framework based on a bottom-up, many-to-many workflow that can be represented by a directed (not iterating) graph. MPilot is descended from the Environmental Evaluation Modeling System (EEMS), which was initially a fuzzy logic modeling package based on EMDS.
Installing
MPilot with EEMS can be installed with pip
:
$ pip install mpilot
In order to run MPilot with NetCDF datasets, you'll need to install the NetCDF variant:
$ pip install mpilot[netcdf]
Creating models
MPilot models are contained in "command files", using a simple scripting language. Here is an example model, which loads two columns of integer data from a CSV file, sums them, and writes the result to a second CSV file.
A = EEMSRead(
InFileName = "input.csv",
InFieldName = "A",
DataType = "Integer"
)
B = EEMSRead(
InFileName = "input.csv",
InFieldName = "B",
DataType = "Integer"
)
APlusB = Sum(
InFieldNames = [A, B]
)
Out = EEMSWrite(
OutFileName = "output.csv",
OutFieldNames = [A, B, APlusB]
)
Running models
Models are run using the included mpilot
program. The following commands will run a model using the EEMS CSV library
and using the EEMS NetCDF library respectively:
$ mpilot eems-csv model.mpt
$ mpilot eems-netcdf model.mpt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mpilot-1.2.7.tar.gz
.
File metadata
- Download URL: mpilot-1.2.7.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.9.20 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 568435f8974da6d96639f9b32e4948fb21ad7c2920bfd1763dabeece4c9dfb0e |
|
MD5 | 97c72b643c7126cd082ebee4d7057012 |
|
BLAKE2b-256 | 6b1f7f1c5fd0d8b21dd82b46cbe9f6e630725aac5327fdcd231e373ae61b512d |
File details
Details for the file mpilot-1.2.7-py3-none-any.whl
.
File metadata
- Download URL: mpilot-1.2.7-py3-none-any.whl
- Upload date:
- Size: 29.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.9.20 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc60961df342fadea8c5bbf9b8c2386d8795d37d2445b8a8ab46ef7fd62b4062 |
|
MD5 | 0834ac64180d5d2d40e23714363ff1a9 |
|
BLAKE2b-256 | c744a14817ee1b3cb1af0c4093af6c9ec6696a7ff838e8abd43a0d7bfc644c2f |