Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  ENVI API  >  ENVIExtractRastersFromRasterSeriesTask

ENVI

ENVIExtractRastersFromRasterSeriesTask

ENVIExtractRastersFromRasterSeriesTask

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:

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


ENVI 5.4.1

Introduced

API Version


3.2

See Also


ENVITask, ENVITask::Parameter, ENVIRasterSeries



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us