Description Usage Arguments Value
The Air Pollution Impacts Protocol requires that a project bounbary be defined as that the spatial and temporal extent of the atmospheric states resulting from an activity above a certain threshold. This function takes a raster of concentrations resulting from an activity and a threshold value and selects the valid project extent
1 2 3 4 | project_boundary(r, period = 1/365, target_period = "both",
thresh_acute = 19, period_acute = 1/365, thresh_chronic = 2.5,
period_chronic = 365/365, chronic_cutoff = 0.9, vebose = FALSE,
return.mask = FALSE, maskname = "masker", only.mask = FALSE)
|
r |
Raster* object with concentrations resulting from an activity |
period |
Numeric The averaging period represented by each layer of r expressed as a fraction of 365 days, i.e. 1/365 for daily values, 1/24/365 for hourly values |
target_period |
Character Apply function for a chronic or an acute scenario or both. options are "chronic", "acute", "both". Defaults to "both" |
thresh_acute |
Numeric The threshold for the 24 hour averaging period |
period_acute |
The period for which the acute threshold is valid. Default 1/365 |
thresh_chronic |
Numeric The threshold for the 1 year averaging period |
period_chronic |
The period for which the chronic threshold is valid. Default 365/365 |
chronic_cutoff |
Numeric Proportion data needed to construct a valid chronic estimate. Default 0.9 |
return.mask |
Logical that assigns the masked resolution to the global environment when TRUE |
maskname |
Character vector. The name attributed to the masked resolution |
only.mask |
Logical If TRUE the function only returns a mask and not the raster |
verbose |
Logical Messages or not |
A single layer raster shruck to the minimum neccesary extent and with NAs in all remaining cells within that extent that falls outside of the project boundary and 1 in the cells that fall within. This object is then used as a mask to select the valid region for further steps in the air pollution impacts or offsets accouting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.