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 properties (Set, Get): INDEX, INPUT_ARRAY
Output properties (Get only): OUTPUT_ROW
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:
INDEX (required)
Specify a zero-based index number that corresponds to the row to extract.
INPUT_ARRAY (required)
Specify the input URI.
OUTPUT_ROW
This is the extracted row.
Version History
API Version
4.3
See Also
ENVITask, ExtractColumnFromArray Task