-
Notifications
You must be signed in to change notification settings - Fork 1
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.
Predefined pipelines in MINT Transformation are published as YAML configuration files with some specific conventions designed for the integration.
-
Set enviroment variable
DATA_CATALOG_DOWNLOAD_DIR, where the data will be downloaded. -
Start docker container
docker run --rm -p 5000:5000 -v $(pwd):/ws -v /tmp:/tmp -w /ws -it --entrypoint=/bin/bash mint_dt -
Run the
runscript 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:
-
templatesfolder: template YAML files -
filledfolder: YAML files with parameters filled in -
scriptsfolder: scripts with all parameters specified for testing
-