Skip to content

DAME Integration

Minh Pham edited this page Jun 14, 2020 · 2 revisions

Desktop Application for Model Execution (DAME) is a command line interface for executing environmental models. Our MINT Transformation service is being used as a component in their workflow.

Integration

Predefined pipelines in MINT Transformation are published as YAML configuration files with some specific conventions designed for the integration.

Instructions:

  1. Set enviroment variable DATA_CATALOG_DOWNLOAD_DIR, where the data will be downloaded.

  2. Start docker container docker run --rm -p 5000:5000 -v $(pwd):/ws -v /tmp:/tmp -w /ws -it --entrypoint=/bin/bash mint_dt

  3. Run the run script using the following command

./run --config [config_path] -i1 [dataset_id1] -i2 [dataset_id2] ... -p1 [param1] -p2 [param2] ... -o1 [output_file1]
  • Inputs of pipelines are always dataset IDs.
  • The pipeline will always have only one output.
  • All arguments are corresponding with {PARAMS}, {INPUTS}, {OUTPUTS} keywords in YAML files.
  • Examples can be found here:
    • templates folder: template YAML files
    • filled folder: YAML files with parameters filled in
    • scripts folder: scripts with all parameters specified for testing
Clone this wiki locally