BatchMask: BatchMask - Crops (masks) the raster files with multiple...

Description Usage Arguments Details Examples

View source: R/BatchMask.R

Description

Noninteractive version.

Usage

1
BatchMask(ASCfilelist = NA, SHPfilelist = NA, OPDirName = NA)

Arguments

ASCfilelist

- list of raster files to crop

SHPfilelist

- mask shapefiles used to crop rasters

OPDirName

- Output folder, where subfolders of shape files will be created

Details

Function crops (masks) the raster files with multiple shape file and stores them in separate folders. Masked files are stored in separate folders with shape file name and names of the masked files are kept same. For example, if the input asc files are bio1.asc, bio2.asc, and you select multiple shape files like shp1.shp, shp2.shp, shp3.shp, then 3 folders named shp1, shp2 and shp3 will be created in output folder specified by user. Each folder will contain bio1.asc, bio2.asc If by chance your files does 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: 
BatchMask()

## End(Not run)

narayanibarve/ENMGadgets documentation built on May 25, 2019, 10:34 p.m.