GBDX

ENVI® Raster Properties

This task retrieves the properties of an ENVIRaster. Although you can issue a PRINT command on an ENVIRaster to retrieve its properties, this task was designed for use within an image-processing script where you can create variables for the different properties.

GBDX Registered Name: ENVI_RasterProperties
Provider: Harris Geospatial Solutions

Inputs

The following table lists all ENVI_RasterProperties inputs.
Mandatory (optional) settings are listed as Required = True (Required = False).

Name Required Default Valid Values Description
file_types False N/A string GBDX Option. Comma seperated list of permitted file type extensions. Use this to filter input files -- Value Type: STRING[*]
input_raster True N/A See ENVIRASTER input type Specify a raster from which to retrieve properties. -- Value Type: ENVIRASTER
input_raster_format False N/A See ENVIRASTER input type Provide the format of the image, for example: landsat-8. -- Value Type: STRING
input_raster_band_grouping False N/A See ENVIRASTER input type Provide the name of the band grouping to be used in the task, ie - panchromatic. -- Value Type: STRING
input_raster_filename False N/A See ENVIRASTER input type Provide the explicit relative raster filename that ENVI will open. This overrides any file lookup in the task runner. -- Value Type: STRING
input_raster_raw_output False False See ENVIRASTER input type Provide True to output an ENVI Binary instead of a tif. -- Value Type: STRING

Outputs

The following table lists all ENVI_RasterProperties outputs.
Mandatory (optional) settings are listed as Required = True (Required = False).

Name Required Default Valid Values Description
task_meta_data False N/A directory GBDX Option. Output location for task meta data such as execution log and output JSON
ncolumns True N/A string The number of columns in the raster. -- Value Type: LONG
spatial_reference True N/A string The spatial reference of the raster; more specifically, the ENVIStandardRasterSpatialRef, ENVIPseudoRasterSpatialRef, or ENVIRPCRasterSpatialRef object associated with the raster. -- Value Type: _ENVISPATIALREF
data_type_name True N/A string A string specifying the raster data type. -- Value Type: STRING
nrows True N/A string The number of rows in the raster. -- Value Type: LONG
nbands True N/A string The number of bands in the raster. -- Value Type: LONG
data_type_code True N/A string An integer specifying the raster data type. -- Value Type: LONG

Output structure

Background

For additional background information on this task please refer to the Harris Geospatial ENVI documentation and
ENVI® Raster Properties.

Contact

If you have any questions or issues with this task, please contact gbdx-support@digitalglobe.com.