NEWS.md
Version 0.9.0 includes updated package dependencies and changes throughout the code base to support the upcoming change to the PM_NAAQS See: PM_NAAQS update.
Updated dependencies:
MazamaCoreUtils => 0.5.2
MazamaTimeSeries => 0.3.0
AirMonitor => 0.4.0
gridExtra => removed
Updated several functions to use the new PM2.5 NAAQS thresholds as defined in AirMonitor::US_AQI$breaks_PM2.5_2024
.
Updates to work with AirMonitor 0.3.11.
monitor_ggDailyByHour()
.aqiStyle
argument from plotting functions.mts_monitor
argument name to monitor
to match the AirMonitor package.deviceDeploymentID
argument name to id
to match the AirMonitor package.NOTE: version 0.8 is not compatible with the PWFSLSmoke package
Version 0.8 represents a complete refactoring of the plotting code to support mts_monitor objects found in the AirMonitor package. This is part of the large shift from “v1” data archives based on a unique montorID
to “v2” archives based on “known locations” and a unique deviceDeploymentID
.
Refactored files:
brandPlot.R
custom_aqiAnnotation.R
custom_datetimeScale.R
custom_pm25DiurnalScales.R
custom_pm25TImeseriesScales.R
geom_PM25Points.R
ggplot_pm25Timeseries.R
monitor_ggCalendarPlot.R
monitor_ggClockPlot.R
monitor_ggDailyBarplot_archival.R
monitor_ggDailyBarplot.R
monitor_ggDailyByHour_archival.R
monitor_ggDailyByHour.R
monitor_ggDailyByHourBarplot.R
monitor_ggDailyTimeseries_archival.R
monitor_ggTimeseries.R
monitor_isTidy.R
monitor_toTidy.R
nowcast.R
stat_AQCategory.R
stat_meanByHour.R
stat_nowcast.R
themes.R
utils-pipe.R
Starting the 2021 fire season at version 0.7 with minor fixes and several new plots.
New “archival plots are designed to create fully annotated, nice looking plots for longer time periods than the default plots which are designed for the most recent 10 days:
Additional helper functions:
monitor_ggDailyHourlyBarplot()
plot function.theme_dailyHourlyBarplot_airfire()
plot theme.monitor_ggDailyBarplot()
to the NowCast value for “today”.monitor_ggDailyByHour()
to get at that “today” bug.monitor_ggDailyByHour()
so that it doesn’t ignore data from “today”.monitor_ggCalendar()
function.stat_meanByHour()
, accessible by calling stat_meanByHour(output = "scaqmd")
.monitor_ggDailyByHour()
now checks for available data for “yesterday” and “today” before attempting to plot those lines.MazamaCoreUtils::dateRange()
.monitor_ggDailyBarplot()
.monitor_ggDailyByHour()
more consistent.Style refactoring and coalescing functions.
All tidy_gg*
plot functions have been removed in favor of the equivalent monitor_gg*
plot functions. This reflects a change in philosophy that “tidy-formatted” data should be the default assumption within the package, and with all monitor_*
functions being designed to work directly with PWFSLSmoke pipelines.
Cleanup of refactored code before CRAN submission
_AQILevel()
functions to _AQCategory()
Complete refactoring of the code to utilize low level ggplot
concepts.
tidy_gg*
and monitor_gg*
functions to create out-of-the-box plots for the monitoring sitecustom_
functions, making it easy to create customized plots.Adding standard plots used in the USFS Monitoring site.
dailyBarplot()
and dailyBarplotBase()
timeseriesPlot()
and timeseriesPlotBase()
clockPlot()
and clockPlotBase()
Moving all base plot related code from PWFSLSmokePlot to PWFSLSmoke so that all functionality in the former is purely ggplot2 based.
addPolygon()
, addWindBarb()
and addWindBarbs()
aqiPalette()
monitor_getDailyMean()
monitor_getDailyMean()
functionclockPlot()
functionclockPlotBase()
functionaqiPalette()
function and unit testdailyHourlyBarplot()
createTarnayPlot()
in favor of dailyHourlyBarplot()
~Tidy()
functions in favor of those in PWFSLSmoke
DESCRIPTION file
This release tweaks the calculation of NowCast in the daily-hourly-barplot:
tlim
argument (allows for proper NowCast calculation)This release also reverses the legend scale ordering for better visual consistency
This release focuses on refining the visual aesthetics of the daily-hourly-barplot:
Addresses the following issues regarding the daily-hourly-barplot:
daily-hourly barplot
(). This is a time series barplot showing PM2.5 data for the given monitors. The overall plot is faceted by monitor, and each facet has two sets of columns: one for daily levels, and one for hourly levels.isWSMon()
, This functionality is now in PWFSLSmoke::monitor_isMonitor()
isTidy()
-> monitor_isTidy()
wsMonToTidy()
-> monitor_toTidy()