monitor_aqi: Calculate hourly NowCast-based AQI values

View source: R/monitor_aqi.R

monitor_aqiR Documentation

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

Examples

## 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)

MazamaScience/PWFSLSmoke documentation built on July 3, 2023, 11:03 a.m.