# NOT RUN {
# Fail gracefully if any resources are not available
try({
library(PWFSLSmoke)
# Napa Fires -- October, 2017
ca <- airnow_load(2017) %>%
monitor_subset(tlim=c(20171001,20171101), stateCodes='CA')
Vallejo <- monitor_subset(ca, monitorIDs='060950004_01')
Napa_Fires <- monitor_subsetByDistance(ca,
longitude = Vallejo$meta$longitude,
latitude = Vallejo$meta$latitude,
radius = 50)
monitor_performanceMap(ca, Vallejo, cex = 2)
title('Heidke Skill of monitors predicting another monitor.')
}, silent = FALSE)
# }
Run the code above in your browser using DataLab