Read-only mirror of https://github.com/MeteoSwiss/swisspollen-pipeline-public — MeteoSwiss. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-06 19:40:18 +01:00
model Initial commit 2026-03-06 15:11:49 +01:00
model_unitest Initial commit 2026-03-06 15:11:49 +01:00
single_include/nlohmann Initial commit 2026-03-06 15:11:49 +01:00
.gitignore Initial commit 2026-03-06 15:11:49 +01:00
LICENSE Initial commit 2026-03-06 15:11:49 +01:00
Makefile Initial commit 2026-03-06 15:11:49 +01:00
onnx_inference.cpp Initial commit 2026-03-06 15:11:49 +01:00
README.md Update README.md 2026-03-06 19:40:18 +01:00
requirements Initial commit 2026-03-06 15:11:49 +01:00

swisspollen-pipeline

refactored pollen inference pipeline in C++

Ingests Swisens Poleno raw data in zip format

This repository contains the first public snapshot of the refactored pollen pipeline. Development will continue in this repository.

The nlohmann JSON library (MIT license) is included to provide a ready-to-use example.

=== usage ===

Usage: ./a.out -m model.onnx -i data.zip [options]\n

Options:
    -m, --model PATH        ONNX model file
    -i, --input PATH        Input zip file
    --num_threads N         Number of threads (default: 12)
    --batch_size N          Batch size (default: 12)
    -v, --verbose           Print class and score
    -u, --unittest          Run predefined unit test
    -h, --help              Show help

--- compile ---

make

--- examples ---

./a.out --model model/meteoswiss_2025_Q2_15sp.onnx --input testdata/2026-01-23_05h.zip

--- UNITEST for the model inference ---

./a.out -u

same as --model model/meteoswiss_2025_Q2_15sp.onnx --input model_unitest/unitestdata.zip --verbose

compare the outcome with 'model_unitest/unitestdata_classifications.csv'