QueryTaskCatalog Task

This task returns a list of the tasks available in ENVI.

Example

; Start the application

e = ENVI(/HEADLESS)

 

; Get the task from the catalog of ENVITasks

Task = ENVITask('QueryTaskCatalog')

 

; Return only the ENVI tasks that

; compute convolution filters

Task.FILTER_TAGS = ['ENVI', 'Convolution Filters']

 

; Run the task

Task.Execute

 

; Print the list of tasks available in ENVI.

Print, Task.TASKS, FORMAT='(A)'

Syntax

Result = ENVITask('QueryTaskCatalog')

Input properties (Set, Get): FILTER_TAGS

Output properties (Get only): TASKS, UNIQUE_TAGS

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:

FILTER_TAGS (optional)

Set this property to an array of tags used to filter the queried tasks. The QueryTaskCatalog task returns tasks that meet the criteria for all specified tags, not just some of them. The tags are not case-sensitive. If no results are found, TASKS and UNIQUE_TAGS return a value of !NULL.

TASKS

An array containing the names of all ENVITasks that meet the query criteria.

UNIQUE_TAGS

An array containing the union of all unique tags contained in the tasks that meet the query criteria.

Version History

ENVI 5.3

Introduced

ENVI 5.5. 1

Added the FILTER_TAGS and UNIQUE_TAGS properties

API Version

4.2

See Also

ENVITask, ENVIQueryTask