PWFSLSmoke (version 1.2.100)

monitor_aqi: Calculate hourly NowCast-based AQI values

Description

Nowcast and AQI algorithms are applied to the data in the ws_monitor object.

Usage

monitor_aqi(ws_monitor, aqiParameter = "pm25", nowcastVersion = "pm",
  includeShortTerm = FALSE)

Arguments

ws_monitor

ws_monitor object

aqiParameter

parameter type; used to define reference breakpointsTable

nowcastVersion

character identity specifying the type of nowcast algorithm to be used. See ?monitor_nowcast for more information.

includeShortTerm

calcluate preliminary values starting with the 2nd hour

References

https://docs.airnowapi.org/aq101

https://www.ecfr.gov/cgi-bin/retrieveECFR?n=40y6.0.1.1.6#ap40.6.58_161.g

Examples

Run this code
# NOT RUN {
ws_monitor <- monitor_subset(Northwest_Megafires, tlim=c(20150815,20150831))
aqi <- monitor_aqi(ws_monitor)
monitor_timeseriesPlot(aqi, monitorID=aqi$meta$monitorID[1], ylab="PM25 AQI")
# }

Run the code above in your browser using DataLab