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

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

Examples

if (FALSE) { library(PWFSLSmoke) 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") }