sensortoolkit.reference

The sensortoolkit.reference subpackage contains various modules for the ingestion and import of reference datasets. Methods are also included for querying reference data API services such as EPA’s Air Quality System (AQS) and the AirNow API.

Clicking on each module below will open a page with a detailed description and list of functions included within the module.

sensortoolkit.reference._airnowtech_to_long

Method for converting datasets downloaded from the AirNow-Tech website from wide format (data are organized by row for each day and by column for each hour of the day) to long format (data are organized by row for consecutive timestamps).

sensortoolkit.reference._import_airnowtech

Module for importing raw AirNowTech data (table, unpivoted format) queried at month-long intervals at 1-hr recording frequency for PM2.5, PM10, O3, NO2, CO, relative humidity, temperature, wind speed, wind direction.

sensortoolkit.reference._load_ref_data

This module contains methods for importing reference datasets (i.e., datasets containing reference measurements that have been processed into the SDFS format following use of the sensortoolkit.lib_utils.ReferenceSetup() method).

sensortoolkit.reference._ref_api_query

This module contains methods for querying reference data APIs, including the AirNow and Air Quality System (AQS) API services.