thermal {ASIP} | R Documentation |
Identifies Thermal Infra-Red (TIR) bands and converts them to at satellite brightness temperature images.
thermal(directory = getwd(), crop = "n", ext2crop = "none",
op_directory = directory, unit = "Deg Kel")
ext2crop , crop , directory |
Same as mentioned in |
op_directory |
Specify the output directory (within double quotes). By default the input satellite image directory will be selected as the output directory. |
unit |
By default the temperature image will be produced in Degree Kelvin. To produce the thermal image in Degree celcius, assign vale "c". To produce the thermal image in Degree celcius, assign vale "c". |
At Satellite Brightness Temperature images in .tif format in input directory.
1. FILENAMES OF ANY BAND FILES (*.TIF files) SHOULDN'T CHANGED.
2. Windows users should be careful while assigning directory. Use "/" to seperate folders.
3. Emissivity value used is 1.
library (raster)
library (rgdal)
# Finding the path of the sample satellite image directory.
# User may define paths directly like "/home/ur_folder" or "C:/ur_folder"
path <- system.file ("TM_sample", package = "ASIP")
shapefil <- paste0 (path, "/test.shp")
thermal (directory = path, crop = "y", ext2crop = shapefil, unit = "c")