Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.59 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.59 KB

AgriSat

This project is the operations for data processing and analysis of satellite images for agriculture from a CanSat running a Raspberry Pi at the edge. For parallelism we use child processes via sensor clients and using handlers for logging, persistence and data processing.

Installation

git clone https://github.com/ULAS-HiPR/AgriSat.git
cd AgriSat

# Install dependencies
pip install -r requirements.txt

Usage

python main.py

Testing

coverage run --source=clients,handlers  --branch -m unittest discover -s tests
coverage report --format markdown
Name Stmts Miss Branch BrPart Cover
clients/AltimeterClient.py 18 18 0 0 0%
clients/BaseClient.py 16 16 6 0 0%
clients/CameraClient.py 18 18 0 0 0%
clients/GpsClient.py 19 19 2 0 0%
clients/LoraClient.py 14 14 0 0 0%
clients/NetClient.py 9 9 0 0 0%
handlers/CSVHandler.py 12 0 6 0 100%
handlers/LogHandler.py 29 0 2 1 97%
handlers/__init__.py 0 0 0 0 100%
TOTAL 135 94 16 1 32%