iCropRaster: iCropRaster - Crops (masks) the raster files with the shape...

Description Usage Arguments Details Examples

View source: R/iCropRaster.R

Description

Function crops (masks) the raster files with the shape file. Interactive version. For noninteractive veriosn to be used in scripts check CropRaster

Usage

1
iCropRaster(filelist = NA, ShapeFile = NA, sufix = NA)

Arguments

filelist

- list of raster files to crop

ShapeFile

- mask shapefile used to crop rasters

sufix

- sufix for the output file name

Details

Masked files are stored in the current working directory with original name of file + the sufix provided. For example, if the input asc files are bio1.asc, bio2.asc, and you give the suffix as 'n', then the output masked files are bio1n.asc, bio2n.asc If by chance your files do not have any extension, then comment the statement below the note 'For file with extension' and uncomment the FileName statement below the note 'For files without extension

Examples

1
2
3
4
## Not run: 
iCropRaster()

## End(Not run)

vijaybarve/ENMGadgets documentation built on May 3, 2019, 6:12 p.m.