Maps one or more physical parameters of the LCZ scheme (sky view factor, building surface fraction, anthropogenic heat, ...) as rasters.
Usage
lcz_plot_parameters(
x,
iselect = NULL,
all = FALSE,
inclusive = FALSE,
isave = FALSE,
save_extension = "png",
max_pixels = 1e+06,
...,
lang = "en"
)Arguments
- x
The raster stack returned by
lcz_get_parameters(istack = TRUE)(the first layer, the LCZ class, is dropped automatically).- iselect
Character vector with one or more parameter codes. See the parameter list below.
- all
Logical. Plot every parameter in the stack.
- inclusive
Logical. Use colour-vision-deficiency-safe palettes.
- isave
Logical. Save each plot in
LCZ4r_output/.- save_extension
Image format:
"png","jpg","tif","pdf"or"svg".- max_pixels
Maximum number of cells per plot; larger rasters are aggregated (mean) first.
- ...
Passed to
ggplot2::labs()(subtitle,caption, ...). The title is generated from the parameter name.- lang
Language used for titles, messages and errors. See
lcz_langs(). Defaults to"en".
Parameter codes
SVFmin, SVFmax, SVFmean (sky view factor);
ARmin, ARmax, ARmean (aspect ratio);
BSFmin, BSFmax, BSFmean (building surface fraction);
ISFmin, ISFmax, ISFmean (impervious surface fraction);
PSFmin, PSFmax, PSFmean (pervious surface fraction);
TSFmin, TSFmax, TSFmean (tree surface fraction);
HREmin, HREmax, HREmean (height of roughness elements);
TRCmin, TRCmax, TRCmean (terrain roughness class);
SADmin, SADmax, SADmean (surface admittance);
SALmin, SALmax, SALmean (surface albedo);
AHmin, AHmax, AHmean (anthropogenic heat output);
z0 (roughness length).
References
Stewart, I. D., and Oke, T. R. (2012). Local Climate Zones for urban temperature studies. Bull. Amer. Meteor. Soc. 93(12) 1879-1900. doi:10.1175/BAMS-D-11-00019.1
Examples
if (FALSE) { # \dontrun{
lcz_map <- lcz_get_map(city = "Juiz de Fora")
params <- lcz_get_parameters(lcz_map, istack = TRUE)
lcz_plot_parameters(params, iselect = "SVFmean")
lcz_plot_parameters(params, iselect = c("BSFmean", "AHmean"), lang = "pt")
lcz_plot_parameters(params, all = TRUE, isave = TRUE)
} # }
