distance_from_sea {pastclim} | R Documentation |
Compute a raster of distances from the sea for each land pixel.
Description
Get the land mask for a dataset at a given time point, and compute distance from the sea for each land pixel.
Usage
distance_from_sea(time_bp = NULL, time_ce = NULL, dataset)
Arguments
time_bp |
time slice in years before present (negative) |
time_ce |
time slice in years CE.
Only one of |
dataset |
string defining the dataset to use (a list of possible
values can be obtained with |
Value
a terra::SpatRaster
of distances from the coastline in km
[Package pastclim version 2.1.0 Index]