Function to format a prepared GLOBIOM netCDF file for use in ibis.iSDM
Source: R/conv_downscalr2ibis.R
conv_downscalr2ibis.RdThis 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
characterpointing to a GLOBIOM output in netCDF format.- ignore
A
vectorof variables to be ignored (Default:NULL).- period
A
characterlimiting 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
SpatRasterobject towards which projects should be transformed.A
logicalon whether shares should be corrected to areas (if identified).- use_gdalutils
(Deprecated)
logicalon to use gdalutils hack-around.- verbose
logicalon whether to be chatty.