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 parameters (Set, Get): INPUT_RASTER_SERIES

Output parameters (Get only): OUTPUT_RASTERS

Parameters marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Parameters marked as "Get" are those whose values you can retrieve but not set.

Input Parameters


INPUT_RASTER_SERIES (required)

Specify an ENVIRasterSeries from which to extract the individual rasters.

Output Parameters


OUTPUT_RASTERS

This is an array of ENVI rasters.

Methods


Execute

Parameter

ParameterNames

Properties


DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

Version History


ENVI 5.4.1

Introduced

See Also


ENVITask, ENVIRasterSeries