monitor_aqi: Calculate hourly NowCast-based AQI values

Description Usage Arguments References Examples

View source: R/monitor_aqi.R

Description

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

Usage

1
2
3
4
5
6
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

1
2
3
4
5
6
7
8
## Not run: 
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")

## End(Not run)

PWFSLSmoke documentation built on July 8, 2020, 7:19 p.m.