R/Lib_CheckConvertData.R
raster2BIL.Rd
converts a raster into BIL format as expected by biodivMapR codes
raster2BIL(
Raster_Path,
Sensor = "unknown",
Output_Dir = FALSE,
Convert_Integer = TRUE,
Multiplying_Factor = 1,
Multiplying_Factor_Last = 1,
Mask = FALSE
)
character. Full path for the raster to be converted
character. Name of the sensor. a .hdr template for the sensor should be provided in extdata/HDR
character. Path to output directory.
boolean. Should data be converted into integer ?
numeric. Multiplying factor (eg convert real reflectance values between 0 and 1 into integer between 0 and 10000).
numeric. Multiplying factor for last band.
boolean is the file a mask file with 0s and 1s only?
Output_Path path for the image converted into ENVI BIL format