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.
e = ENVI()
SeriesFile = Filepath('AirTemp.series', $
SUBDIRECTORY=['data', 'time_series'], $
ROOT_DIR = e.Root_Dir)
Series = ENVIRasterSeries(SeriesFile)
Task = ENVITask('ExtractRastersFromRasterSeries')
Task.INPUT_RASTER_SERIES = Series
Task.Execute
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:
AddParameter
Execute
Parameter
ParameterNames
RemoveParameter
Properties
This task inherits the following properties from ENVITask:
COMMUTE_ON_DOWNSAMPLE
COMMUTE_ON_SUBSET
DESCRIPTION
DISPLAY_NAME
NAME
REVISION
TAGS
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
API Version
4.3
See Also
ENVITask, ENVIRasterSeries