ThermalAtmosphericCorrection Task
This task calculates the thermal infrared atmospheric correction.
Example
; Start the application
e = ENVI()
; Open an input file
File = Filepath('qb_boulder_msi', Subdir=['data'], $
Root_Dir=e.Root_Dir)
Raster = e.OpenRaster(File)
; Get the task from the catalog of ENVITasks
Task = ENVITask('ThermalAtmosphericCorrection')
; Define inputs
Task.INPUT_RASTER = Raster
; Run the task
Task.Execute
; Get the collection of data objects currently available in the Data Manager
DataColl = e.Data
; Add the output to the Data Manager
DataColl.Add, Task.OUTPUT_RASTER
; Display the result
View = e.GetView()
Layer = View.CreateLayer(Task.OUTPUT_RASTER)
Syntax
Result = ENVITask('ThermalAtmosphericCorrection')
Input properties (Set, Get): DATA_SCALE, FITTING_TECHNIQUE, NESR, INPUT_RASTER, OUTPUT_RASTER_URI, REGRESSION_METHOD
Output properties (Get only): OUTPUT_RASTER
Properties marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Properties marked as "Get" are those whose values you can retrieve but not set.
Methods
This task inherits the following methods from ENVITask:
Properties
This task inherits the following properties from ENVITask:
This task also contains the following properties:
DATA_SCALE (required)
Specify the scale factor applied to the data, prior to calculating thermal corrections. This converts the input data to W/m2 *sr*um. Valid values are:
-
1.0
(default) -
0.001
FITTING_TECHNIQUE (required)
Specify the method for fitting the line in the data gain and offset calculations. The options are:
-
Top of Bin
(the default) -
Normalized Regression
INPUT_RASTER (required)
Specify an input raster to process.
NESR (optional)
Specify the Noise Equivalent Spectral Radiance value (NESR). You must specify this value if the FITTING_TECHNIQUE value is Normalized Regression
. The default value is 1.00000
.
OUTPUT_RASTER
This is a reference to the output raster of filetype ENVI.
OUTPUT_RASTER_URI (optional)
Specify a string with the fully qualified filename and path to export the associated OUTPUT_RASTER.
- If you set this property to an asterisk symbol (*), the output raster will be virtual and not written to disk.
- If you do not specify this property, or set it to an exclamation symbol (!), a temporary file will be created.
REGRESSION_METHOD (required)
Specify the regression method in the data gain and offset calculations. The options are:
-
All Pixels
(the default) -
Maximum Hit
Version History
ENVI 5.7 |
Introduced |
API Version
4.2
See Also
ENVITask, EmissivityFromAlphaResiduals Task, EmissivityFromNormalization Task, EmissivityFromReferenceChannel Task