get_ice_mask {pastclim} | R Documentation |
Get the ice mask for a dataset.
Description
Get the ice mask for a dataset, either for the whole series or for specific time points.
Usage
get_ice_mask(time_bp = NULL, dataset)
Arguments
time_bp |
time slices in years before present (negative values represent
time before present, positive values time in the future). This parameter can
be a vector of times (the slices need
to exist in the dataset), a list with a min and max element setting the
range of values, or left to NULL to retrieve all time steps.
To check which slices are available, you can use
|
dataset |
string defining dataset to be downloaded (a list of possible
values can be obtained with |
Details
Note that not all datasets have ice information.
Value
a binary terra::SpatRaster
with the ice mask as 1s
[Package pastclim version 2.1.0 Index]