Giter Club home page Giter Club logo

drone-makeflow-old's Introduction

Makeflow for Drone Processing Pipeline

This repository contains the files used to run containers in the Makeflow environment.

Overview

Each container to be run has its own .jx file containing everything needed to run the image and locally cache the results. The basic flow in each of these .jx files is to create needed folders, run the docker container, and cache the results.

Coordination of these smaller workflows is done through the simple run_makeflow.sh script.

The sequence of the overall workflow is: odm_workflow -> soil_mask_workflow -> plot_clip_workflow -> canopy_cover_workflow.

YAML file

A simple YAML file is used to define the workflow steps along with any other run-specific information, such as the location of a file containing the experiment information.

Main Script

The run_workflow.sh script converts the configuration YAML to Makeflow-compatible JSON while enhancing the JSON to assist processing. It also calls the Makeflow entry point and cleans up any changes that it made to the file system.

Main JX Files

There are two main .jx files used to run workflows are:

  • run_workflow.jx: is the entry point for running the workflow steps; its role is to run the steps in the correct order *sub_workflow.jx: is called for each workstep; its role is to prepare for running docker containers and ensure things are setup for the next step

Workflow Step JX Files

Each of the workflow steps has its own .jx file that contain the specific commands needed for it to run. The main JX files prepare the environment for the workflow step so that each workflow step has minimal configuration to concern itself with.

Supporting Scripts

There cache_results.py script is used to move the meaningful outputs as returned from each workflow step into a cache folder. The files stored in the cache are considered to be the final output of each processing step. After the files are cached, it's possible to remove the workspace folders. If copies of the input files are used for processing, it's also possible to remove the input used by each workflow step after the outputs are cached; cleaning up the input files should not be done if they are the only copy!

drone-makeflow-old's People

Contributors

chris-schnaufer avatar

Stargazers

Julian Pistorius avatar

Watchers

Julian Pistorius avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.