Skip to content

Latest commit

Β 

History

History
99 lines (67 loc) Β· 3 KB

File metadata and controls

99 lines (67 loc) Β· 3 KB

SWEEP Workflows

Welcome to the SWEEP Workflows repository by DotMote Labs, showcasing executable examples and workflow templates for use with the SWEEP platform β€” a cloud-native engine for geospatial and IoT data processing.

This repository contains demo workflows, task scripts, and Jupyter notebooks to help you prototype, test, and deploy automated pipelines on SWEEP.


🌐 What is SWEEP?

SWEEP (Scalable Workflow Execution & Event Processing) is a serverless, graph-based engine that supports sensor-to-cloud automation for:

  • Remote sensing pipelines
  • IoT network integration
  • Environmental & ecological monitoring
  • Geospatial ML inference workflows

Workflows are defined declaratively as DAGs (Directed Acyclic Graphs), with each node performing a task and routing data to the next stage.


πŸ“ Repository Structure

SWEEP-Workflows/
β”œβ”€β”€ demo-workflows/
β”‚   β”œβ”€β”€ landsat_ndvi/(coming)
β”‚   β”œβ”€β”€ crop_health_monitoring/(coming)
β”‚   β”œβ”€β”€ soil_moisture_alerts/(coming)
β”‚   β”œβ”€β”€ coffee-berries
β”‚   β”œβ”€β”€ meadows-demo
β”‚   └── README.md (workflow-specific instructions)
β”œβ”€β”€ notebooks/
β”‚   β”œβ”€β”€ visualize_ndvi.ipynb
β”‚   └── calibrate_sensors.ipynb
β”œβ”€β”€ tasks/
β”‚   β”œβ”€β”€ download_satellite.py
β”‚   β”œβ”€β”€ compute_ndvi.py
β”‚   └── push_to_s3.py
└── LICENSE

Each demo-workflows/ subfolder contains a complete, runnable DAG definition in SWEEP config JSON format, plus task references.


πŸš€ Getting Started

1. Clone the Repo

git clone https://github.com/SWEEP-Inc/SWEEP-Workflows.git
cd SWEEP-Workflows

2. Set Up Your Environment

Install Python dependencies if your task modules use any:

pip install -r requirements.txt  # optional

3. Run on SWEEP

To launch a workflow:

  1. Log into your SWEEP dashboard
  2. Navigate to Workflows β†’ Import
  3. Upload the JSON file from demo-workflows/your-workflow/
  4. Customize parameters as needed
  5. Execute and monitor via the UI

🧠 Example Use Cases

  • Landsat NDVI Computation: Triggered on new satellite data, calculates NDVI and sends alerts if vegetation health drops.
  • Soil Moisture Monitoring: Pulls IoT sensor readings and alerts when moisture falls below thresholds.
  • Sensor Calibration: Uses Jupyter notebooks to visualize and tune field sensor response curves.

πŸ“š Learn More


🀝 Contributing

We welcome contributions β€” whether it's a new example workflow, bugfix, or integration. Open an issue or submit a pull request.


πŸͺͺ License

This project is licensed under the MIT License.