converts a raster into BIL format as expected by DivMapping codes

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

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.

Value

Output_Path path for the image converted into ENVI BIL format