Learn R Programming

ASIP (version 0.4.9)

thermal: TIR bands to at satellite brightness temperature conversion

Description

Identifies Thermal Infra-Red (TIR) bands and converts them to at satellite brightness temperature images.

Usage

thermal(directory = getwd(), crop = "n", ext2crop = "none",
  op_directory = directory, unit = "Deg Kel")

Arguments

ext2crop, crop, directory

Same as mentioned in arvi.

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".

Value

At Satellite Brightness Temperature images in .tif format in input directory.

Examples

Run this code
# NOT RUN {
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")
# }

Run the code above in your browser using DataLab