Skip to main content

MPilot is a plugin-based, environmental modeling framework

Project description

MPilot (beta)

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

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]
)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpilot-1.0.0b4.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

mpilot-1.0.0b4-py2.py3-none-any.whl (24.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mpilot-1.0.0b4.tar.gz.

File metadata

  • Download URL: mpilot-1.0.0b4.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1039-azure

File hashes

Hashes for mpilot-1.0.0b4.tar.gz
Algorithm Hash digest
SHA256 96d43b23b3c7e0210319aa813cdb85d0bd536f8920317833822ccc0868cb91dc
MD5 1be08471737bdce671ef8e4a75905711
BLAKE2b-256 69fc2258b33e8796a0a906fd91220fead8713ef0b25e1e177314d2cc158dea3d

See more details on using hashes here.

File details

Details for the file mpilot-1.0.0b4-py2.py3-none-any.whl.

File metadata

  • Download URL: mpilot-1.0.0b4-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1039-azure

File hashes

Hashes for mpilot-1.0.0b4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7abd3c98ce5ae199da5deb3694b5a2f5e239bdd471ec7e2a2aefad17c616ed53
MD5 d31a6664c2ba7eb7d211ee8a3c4e8521
BLAKE2b-256 5fdaf0fed481b0f72a0e507fa8f28a5b1e0b7272e05f8f5a638344ca4c09c0ac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page