Skip to content

Steps to build a CSDMS Workbench component #18

@mdpiper

Description

@mdpiper

Here are the steps to build a component for the CSDMS Workbench from a library containing a model or a tool.

To help explain these steps, consider a library foo packaged in a Python module foo that exposes a class Foo.

  1. Wrap the library with a Basic Model Interface (BMI). For the case of the foo library, create a class BmiFoo and include in the foo module or in a separate bmi_foo module.
  2. [Optional, but recommended] Create a conda-forge package for the BMI library. For the foo library, the conda-forge package could be foo or bmi-foo.
  3. Run the babelizer over the BMI library to create a component that can be imported into pymt. Babelizing the BmiFoo class would produce the pymt_foo module exposing the Foo class.
  4. [Optional, but recommended] Create a conda-forge package for the pymt component. For example, pymt_foo.

@mcflugen @gantian127 @gregtucker: Please feel free edit these steps as you see fit, and add any discussion as comments below!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions