Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

MPilot is a plugin-based, environmental modeling framework

License

NotificationsYou must be signed in to change notification settings

consbio/mpilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPilot is a plugin-based, environmental modeling framework based on a bottom-up, many-to-many workflow that can berepresented 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.

MPilot Documentation

Installing

MPilot with EEMS can be installed withpip:

$ 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, whichloads 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 includedmpilot program. The following commands will run a model using the EEMS CSV libraryand using the EEMS NetCDF library respectively:

$ mpilot eems-csv model.mpt$ mpilot eems-netcdf model.mpt

About

MPilot is a plugin-based, environmental modeling framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp