Skip to content

pinkstack/voda

Repository files navigation

voda 💦

CI

⚠️ This is highly experimental project witten for a hackathon. Please be careful. ⚠️

Experimenting with following ARSO services and Open-data Sources,... and attempting to predict weather trends in real-time.

Project

Product Idea

Voda - Product Idea

User Interface Idea

Voda - UI

Architecture (PoC)

Voda - Architecture

End-result

Voda - Visualisation in Azure Time Series Insights

Deployment and development

HELM

Preparing the real-time collector

The app will start to collect data from XML sources, and it will continue to do so for every 5 seconds. The data is then shipped to Azure Event Hub for further processing.

# This is missing from repository. It contains key for Azure Event Hub.
kubectl apply -f k8s/set-keys.yaml

# Chart installation,...
helm install one chart/voda --atomic --values chart/voda/values.yaml

Wait a sec and collection of data will commence,...

Running "one-off" collection for scraping of archive

Similarly, to collector above; this collector will go over "all" the archives and process everything. The data is also then emitted to Azure Event Hub.

kubectl apply -f k8s/start-archive-collection.yaml

New deployment,...

sbt docker:publish
helm upgrade one chart/voda -f chart/voda/values.yaml --set image.tag=0.1.1

Queries

SELECT
    *,
    DATEPART (year, stream.datum) as c_year,
    DATEPART (dayofyear, stream.datum) as c_dayofyear,
    DATEPART (quarter, stream.datum) as c_quarter,
    CreatePoint(stream.geSirina, stream.geDolzina) as location
INTO
    [historical-measurements]
FROM
    [eh-archive] AS stream

Usage with Docker

$ docker pull ghcr.io/pinkstack/voda:latest
$ docker run --rm ghcr.io/pinkstack/voda

Development from source

$ sbt compile assembly
$ java -jar target/*/voda.jar

Author

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages