ExtractRastersFromRasterSeries Task
This task extracts individual rasters from an ENVI raster series.
Example
This example opens a raster series from sample data included with your installation of ENVI and then extracts all the individual rasters.
; Start the application
e = ENVI()
SeriesFile = Filepath('AirTemp.series', $
SUBDIRECTORY=['data', 'time_series'], $
ROOT_DIR = e.Root_Dir)
; Create a raster series object
Series = ENVIRasterSeries(SeriesFile)
; Get the task from the catalog of ENVITasks
Task = ENVITask('ExtractRastersFromRasterSeries')
; Define inputs
Task.INPUT_RASTER_SERIES = Series
; Run the task
Task.Execute
; Get the contents of the series file
Rasters = Task.OUTPUT_RASTERS
Syntax
Result = ENVITask('ExtractRastersFromRasterSeries')
Input properties (Set, Get): INPUT_RASTER_SERIES
Output properties (Get only): OUTPUT_RASTERS
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:
INPUT_RASTER_SERIES (required)
Specify an ENVIRasterSeries from which to extract the individual rasters.
OUTPUT_RASTERS
This is an array of ENVI rasters.
Version History
ENVI 5.4.1 |
Introduced |
API Version
4.2