MyNixOS website logo
Description

Access Forest Ecology Layers for British Columbia in 2001-2018.

R-based access to a large set of data variables relevant to forest ecology in British Columbia (BC), Canada. Layers are in raster format at 100m resolution in the BC Albers projection, hosted at the Federated Research Data Repository (FRDR) with <doi:10.20383/101.0283>. The collection includes: elevation; biogeoclimatic zone; wildfire; cutblocks; forest attributes from Hansen et al. (2013) <doi:10.1139/cjfr-2013-0401> and Beaudoin et al. (2017) <doi:10.1139/cjfr-2017-0184>; and rasterized Forest Insect and Disease Survey (FIDS) maps for a number of insect pest species, all covering the period 2001-2018. Users supply a polygon or point location in the province of BC, and 'rasterbc' will download the overlapping raster tiles hosted at FRDR, merging them as needed and returning the result in R as a 'SpatRaster' object. Metadata associated with these layers, and code for downloading them from their original sources can be found in the 'github' repository <https://github.com/deankoch/rasterbc_src>.

The rasterbc R Package

Dean Koch 2023-11-08

rasterbc provides access to a collection of 100m resolution gridded spatial ecological data on the province of British Columbia during the period 2001-2018, including yearly rasterized Forest Insect and Disease Survey (FIDS) pest damage polygons. Given a user-defined geographical region (polygon), the package downloads and imports requested data layers into R as SpatRaster objects. The goal is to improve access to a number of publicly accessible datasets on BC forests and simplify data ingress for modellers.

The available layers are:

All datasets were downloaded and processed in the years 2018-2020, then stored as raster tiles in the standard BC Albers projection, and hosted on FRDR. Follow the links in the list above for code and documentation on this process. The collection is published as a data publication for permanence and easy referencing.

Vignette

See the introduction vignette for instructions on getting started with this package.

Releases

rasterbc is available on CRAN:

rasterbc v1.0.1

Install it in R using the command

install.packages('rasterbc')

This will also install the dependencies sf and terra, if you don’t have them already.

Note that FRDR’s direct download services are occasionally unavailable, at which times the download functionality of rasterbc will also be unavailable. Check the FRDR homepage (eg for news about maintenance downtime) if you are having trouble downloading data tiles with rasterbc.

About

This project grew out of my doctoral thesis project on modelling outbreaks of the mountain pine beetle in central BC. Parts of of the rasterbc collection can be found in research publications with professors Mark Lewis and Subhash Lele on statistical methods for spatial data, models for animal dispersal, and an analysis of MPB activity in the Merrit TSA. We gratefully acknowledge the support of NSERC, TRIA-Net, and the University of Alberta Lewis Lab in this work.

Metadata

Version

1.0.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows