sensortoolkit.qc._interval_downsampling
This module contains methods for applying downsampling methods to convert timeseries datasets at unevenly spaced sampling intervals to a uniform, evenly spaced interval (the downsampling interval).
The downsampling interval is determined based on the variation in the orginally recorded dataset. If, for instance, a sensor was set to record at 60 second intervals but the interval between consecutively recorded timestamps varied from 60 +/- 20 seconds, data may be downsampled to 120 second averages.
- @Author:
- Samuel Frederick, NSSC Contractor (ORAU)U.S. EPA / ORD / CEMM / AMCD / SFSB
- Created:
Tue Aug 17 10:55:08 2021
- Last Updated:
Tue Aug 17 10:55:08 2021
Functions
Helper function for applying downsampled averaging to datasets for the passed downsampling interval. |
|
Check if N times the median time delta is greater than the time delta at a threshold quantile (default is 99%) for each dataframe. |
|
Create a plot of the time delta interval vs. |
|
Plot timedelta vs. |
|
Create dataframe with time deltas (in seconds) between subsequent data entries. |
|
Create quantile dataframe of time deltas for each dataset the in passed list of datasets ( |