raster2BIL: converts a raster into BIL format as expected by biodivMapR...

View source: R/Lib_CheckConvertData.R

raster2BILR Documentation

converts a raster into BIL format as expected by biodivMapR codes

Description

converts a raster into BIL format as expected by biodivMapR codes

Usage

raster2BIL(
  Raster_Path,
  Sensor = "unknown",
  Output_Dir = FALSE,
  Convert_Integer = TRUE,
  Multiplying_Factor = 1,
  Multiplying_Factor_Last = 1,
  Mask = FALSE
)

Arguments

Raster_Path

character. Full path for the raster to be converted

Sensor

character. Name of the sensor. a .hdr template for the sensor should be provided in extdata/HDR

Output_Dir

character. Path to output directory.

Convert_Integer

boolean. Should data be converted into integer ?

Multiplying_Factor

numeric. Multiplying factor (eg convert real reflectance values between 0 and 1 into integer between 0 and 10000).

Multiplying_Factor_Last

numeric. Multiplying factor for last band.

Mask

boolean is the file a mask file with 0s and 1s only?

Value

Output_Path path for the image converted into ENVI BIL format


jbferet/biodivMapR documentation built on Jan. 26, 2024, 10:38 p.m.