One module of the PEMr
project. Functions in the package focus on the initial data acquisition, covariate generation, including the preparation of multi-resolution covariate stack.
Additional modules in the project include:
-
PEMsamplr
– functions for preparing a sample plan -
PEMmodelr
– model generation, and evaluation -
PEMmapr
– map production
Features
The raster focused functions have the objective of creating a multi-resolution raster stack of numerous covariates.
- Snap and area of interest to ensure that subsequent rasters are stackable
- Creation of covariates from a digital terrain model via SAGA-GIS
- Disaggregate coarse resolution rasters to fine scales
The bulk of the functions are wrapper-functions utilizing the terra
and sf
packages
Vector functions in this package faciltate the aquisition of a standard set of data from the BC Data Catalogue via the bcdata
package.
Installation
remotes::install_github("bcgov/PEMprepr", build_vignettes = TRUE)
Usage
Raster based:
- Create a standardized folder structure for the area of interest
- Create an standardized area of interest – that fits well to a xxx100m2 extent
- Create a digital terrain model for the desired resolutions (e.g. 5, 10, and 25m2)
- Generate covariates for each resolution
- disaggregate the course scale covariates to the finest resolution level
Vector based – collect a standard set of vectors and place them within the folder structure.
Getting Help or Reporting an Issue
To report bugs/issues/feature requests, please file an issue.
How to Contribute
If you would like to contribute to the package, please see our CONTRIBUTING guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
License
2022 Province of British Columbia
Copyright
2.0 (the "License");
Licensed under the Apache License, Version in compliance with the License.
you may not use this file except
You may obtain a copy of the License at
://www.apache.org/licenses/LICENSE-2.0
http
in writing, software distributed under the License is distributed on an "AS IS" BASIS,
Unless required by applicable law or agreed to
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.for the specific language governing permissions and limitations under the License. See the License
This project was created using the bcgovr package.