Skip to content

Import measurements from InfluxDB 2.x database and calibrate them with a variety of linear regression techniques (both univariate and multivariate). Then, graph the results and export to a pdf document.

License

Notifications You must be signed in to change notification settings

CaderIdris/Graddnodi

Repository files navigation

Graddnodi

Contact: [email protected]


Table of Contents

  1. Introdution
  2. Input
  3. Output
  4. Requirements
  5. Setup
  6. Standard Operating Procedure
  7. Settings
  8. Data Dictionary

Introduction

Graddnodi (en: Calibration) is a program developed as part of a suite of tools designed to analyse the data generated by low-cost air quality sensors and attempt to assess their quality, remove outliers, detect malfunctions and calibrate them over both short distances (collocation) and long distances (experimental pseudo-collocation). Graddnodi assesses the calibrates measurements made during a collocation study and assesses their quality via a range of error calculcations.

Graddnodi can output both the results of the calibrations and summary statistics detailing the best performing calibratino techniques and secondary variables to use in multivariate calibrations. Therefore this program can not only identify the best calibration technique to use for different types of air quality monitors but also allow you to correct the measurements produced by these devices using the best calibration technique.

This program was tested on a data generated during a long-term collocation study performed at the National Physical Laboratory in Teddington. Many different air quality monitors were deployed there, both low and high-cost. They measured a range of pollutants and environmental conditions (e.g temperature, relative humidity) to varying degrees of quality. The measurements were collected, standardised and uploaded to an InfluxDB 2.x database (using a suite of programs you can find here) before being aggregated in Graddnodi.

Flowchart


Input


Output


Requirements

This program imports data from an InfluxDB 2.x database. Several examples of importing different data formats to an InfluxDB database can be found here. The structure of the data should not matter as the Flux query is dynamically generated in the config file


How to Use

Flag Flag Description Default
-c --config-path Path to the config file Settings/config.json
-i --influx-path Path to the influx config Settings/influx.json
-o --output-path Where the output is saved to Output/
-f --full-output Include full output in saved report (eCDFs, scatter plots, Bland-Altman plots etc) False, True if called

Setup


Settings

About

Import measurements from InfluxDB 2.x database and calibrate them with a variety of linear regression techniques (both univariate and multivariate). Then, graph the results and export to a pdf document.

Topics

Resources

License

Stars

Watchers

Forks