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
Metadata
Release files for mpilot 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mpilot-1.3.2.tar.gz | 22.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpilot-1.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.9 kB
Release files / mpilot-1.3.2.tar.gz
| Download URL | mpilot-1.3.2.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3b0d308e5a244ed13458a20c631050fb715dc0ca9465ca1edbaa8a16f29b507
|
|
BLAKE2b-256 checksum How to use checksums |
c7479c473ac4020d48b774049f44e27d6417dfd2757fe41a22f9ddb41793191e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.14 Linux/6.11.0-1018-azure
|
Release files / mpilot-1.3.2-py3-none-any.whl
| Download URL | mpilot-1.3.2-py3-none-any.whl |
|---|---|
| Size | 29.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
978860343c9ac85f18cfad565674dd6daed31aa7534d7f78a33b3138bdb7c769
|
|
BLAKE2b-256 checksum How to use checksums |
48789e9132fb9975c999ae8381a38dc3f91a83af946960b98f354f02db41887e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.14 Linux/6.11.0-1018-azure
|
Security for mpilot 1.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.