Should take a list of dates or date/time ranges per station where EE/TFs were identified and allow the recalculation of CAAQS metrics for stations, omitting those dates.
Dates will be provided in a data frame of individual dates per station like this:
station_id
date
a
2016-08-12
a
2016-08-13
a
2016-08-14
a
2016-09-01
b
2016-08-15
b
2016-08-16
Or ranges of dates/times like this:
station_id
start
end
a
2016-08-12
2016-08-21
a
2016-09-01
2016-09-03
b
2016-08-15
2016-08-19
b
2016-07-02 08:00
2016-07-02 14:00
The records identified as being due to EE/TFs will be removed from the hourly data. If dates are provided, all hourly records for those dates will be removed. If date/times are provided, hourly records matching (or falling in the range of) those times will be removed.
Once the records are removed, recalculation of the revised CAAQS metric will proceed normally as defined in the appropriate guidance document, with one exception: The data completeness criteria will not be recalculated - rather, the data completeness criteria that were calculated on the original full dataset will be used.
NOTE: When the CAAQS metric requires a percentile value, the percentile required for the revised metric will be calculated based on the number of data points that remain after the removal of values identified as being due to EE/TFs.
Should take a list of dates or date/time ranges per station where EE/TFs were identified and allow the recalculation of CAAQS metrics for stations, omitting those dates.
Dates will be provided in a data frame of individual dates per station like this:
Or ranges of dates/times like this:
The records identified as being due to EE/TFs will be removed from the hourly data. If dates are provided, all hourly records for those dates will be removed. If date/times are provided, hourly records matching (or falling in the range of) those times will be removed.
Once the records are removed, recalculation of the revised CAAQS metric will proceed normally as defined in the appropriate guidance document, with one exception: The data completeness criteria will not be recalculated - rather, the data completeness criteria that were calculated on the original full dataset will be used.
NOTE: When the CAAQS metric requires a percentile value, the percentile required for the revised metric will be calculated based on the number of data points that remain after the removal of values identified as being due to EE/TFs.