This task extracts a single row from an array.
Example
e = ENVI(/HEADLESS)
Task = ENVITask('ExtractRowFromArray')
Task.INPUT_ARRAY = [[1,2,3], [4,5,6]]
Task.INDEX = 0
Task.Execute
Print, Task.OUTPUT_ROW
Syntax
Result = ENVITask('ExtractRowFromArray')
Input parameters (Set, Get): INDEX, INPUT_ARRAY
Output parameters (Get only): OUTPUT_ROW
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
INDEX (required)
Specify a zero-based index number that corresponds to the row to extract.
INPUT_ARRAY (required)
Specify the input URI.
Output Parameters
OUTPUT_ROW
This is the extracted row.
Methods
Execute
Parameter
ParameterNames
Properties
DESCRIPTION
DISPLAY_NAME
NAME
REVISION
TAGS
Version History
See Also
ENVITask, ExtractColumnFromArray Task