Description Usage Arguments Author(s)
View source: R/PIAC_functions.R
IB.WMcrop.proj.r crops the worldmap to an extent which is slightly larger than the bounding box of an archipelago. It also reprojects the resulting raster to a user-defined crs.
1 2 | IB.WMcrop.proj.r(IB.Arcname, IB.projname, IB.proj, IB.WM, resfact,
IB.inputfolder, IB.outputfolder, IB.plot = TRUE, IB.mask = FALSE)
|
IB.Arcname, |
the name of the archipelago |
IB.projname, |
name of the archipelago bathymetry DEM to be stored (without name of archipelago, and without file extention). The name provided here should correspond to the name provided in the function IB.areachange.pol |
IB.proj, |
coordinate reference system (crs) to which the raster should be projected |
IB.WM, |
file path where global bathymetry DEM is stored locally. |
resfact, |
amount of disaggregation (expressed as number of cells) to create a raster in higher resolution |
IB.inputfolder, |
file path to input folder |
IB.outputfolder, |
file path to output folder |
IB.plot, |
should output be plotted on screen? |
IB.mask, |
if TRUE: assign NA to areas below sea-level of -150m MSL (this reduces computation time) |
Sietze Norder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.