Function to format a prepared GLOBIOM netCDF file for use in ibis.iSDM
Source: R/conv_downscalr2ibis.R
conv_downscalr2ibis.Rd
This function expects a downscaled GLOBIOM output as created in
the BIOCLIMA project. It converts the input to a stars object to be fed to
the ibis.iSDM
R-package.
Usage
conv_downscalr2ibis(
fname,
ignore = NULL,
period = "all",
template = NULL,
shares_to_area = FALSE,
use_gdalutils = FALSE,
verbose = TRUE
)
Arguments
- fname
A filename in
character
pointing to a GLOBIOM output in netCDF format.- ignore
A
vector
of variables to be ignored (Default:NULL
).- period
A
character
limiting the period to be returned from the formatted data. Options include"reference"
for the first entry,"projection"
for all entries but the first, and"all"
for all entries (Default:"reference"
).- template
An optional
SpatRaster
object towards which projects should be transformed.A
logical
on whether shares should be corrected to areas (if identified).- use_gdalutils
(Deprecated)
logical
on to use gdalutils hack-around.- verbose
logical
on whether to be chatty.