IDL Data Types


IDL Data Type

IDL Definition

BOOL

A single value (or array of values), true or false (not surrounded with quotes).

BYTE

An 8-bit unsigned integer (or array of integers) ranging in value from 0 to 255. Pixels in images are commonly represented as byte data.

Dictionary

A hash whose keys are case-insensitive strings that must be valid variable names. Access the key/value pairs using a "dot" notation.

DOUBLE

A 64-bit, double-precision, floating-point number (or array of numbers) in the range of ±10308 with approximately 15 or 16 significant digits.

FLOAT

A 32-bit, single-precision, floating-point number (or array of numbers) of ± 1038, with approximately six or seven significant digits.

Hash

A compound data type that contains a reference to a collection of key-value pairs. The key can be of any scalar type, and the value can be of any type. You can change the data types and values.

INT

A 16-bit signed integer (or array of integers) ranging from -32,768 to +32,767.

List

A compound data type that contains a reference to a collection of values. The individual values can be of any data type, and you can change the data types and values.

LONG

A 32-bit signed integer (or array of integers) ranging in value from -2,147,483,648 to +2 147,483,647.

ORDEREDHASH

A hash that preserves the order of the key/value pairs.

LONG64

A 64-bit signed integer (or array of integers) ranging in value from -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807.

ULONG64

A 64-bit unsigned integer (or array of integers) ranging in value from 0 to 18,446,744,073,709,551,615.

String

A sequence of characters that is interpreted as text. You can specify a single string or an array of strings.

UINT

A 16-bit unsigned integer (or array of integers) ranging from 0 to 65,535.

ULONG

A 32-bit unsigned integer (or array of integers) ranging in value from 0 to 4,294,967,295.

ENVI Data Types


Any ENVI API that implements a Dehydrate method is supported by the envitaskengine executable as JSON input and output. You can issue the Dehydrate method in an ENVI session on a given object to yield the dehydrated form of the object. This can be JSON-serialized as input to the envitaskengine executable later.

The following ENVI types are supported by the envitaskengine executable.

ENVIAgCrops

See the ENVIAgCrops::Dehydrate topic in the ENVI Crop Science Help.

ENVIAnnotationSet

See ENVIAnnotationSet::Dehydrate.

ENVIDeepLearningLabelRaster

See the ENVIDeepLearningRaster::Dehydrate topic in the ENVI Deep Learning Help.

ENVIDeepLearningRaster

See the ENVIDeepLearningRaster::Dehydrate topic in the ENVI Deep Learning Help.

ENVIGCPSet

See ENVIGCPSet::Dehydrate.

ENVINITF

See ENVINITF::Dehydrate.

ENVIPointCloud

See ENVIPointCloud::Dehydrate.

ENVIPointCloudProductsInfo

See ENVIPointCloudProductsInfo::Dehydrate.

ENVIRaster

See ENVIRaster::Dehydrate.

ENVIRasterMetadata

See ENVIRasterMetadata::Dehydrate.

ENVIRasterSeries

See ENVIRasterSeries::Dehydrate.

ENVIROI

See ENVIROI::Dehydrate.

ENVISpatialSubsetPointCloud

See ENVISpatialSubsetPointCloud::Dehydrate.

ENVISpectralLibrary

See ENVISpectralLibrary::Dehydrate.

ENVITensorFlowModel

See the ENVITensorFlowModel::Dehydrate topic in the ENVI Deep Learning Help.

ENVITiePointSet

See ENVITiePointSet::Dehydrate.

ENVITime

See ENVITime::Dehydrate.

ENVIURI

This data type is a string that references a filename or folder to use.

ENVIVector

See ENVIVector::Dehydrate.

ENVIVirtualizableURI

This data type is a string that references a filename or folder to use, or that virtual object output is requested.

ENVI Virtual Rasters

All Virtual Rasters have a dehydrated form. Refer to the help topic for each virtual raster.

Spatial Reference Data Types


The following data types pertain to coordinate systems and spatial references in ENVI.

ENVICoordSys

See ENVICoordSys::Dehydrate.

ENVIGLTRasterSpatialRef

See ENVIGLTRasterSpatialRef::Dehydrate.

ENVIGridDefinition

See ENVIGridDefinition::Dehydrate.

ENVINITFCSMRasterSpatialRef

See ENVINITFCSMRasterSpatialRef::Dehydrate.

ENVIPseudoRasterSpatialRef

See ENVIPseudoRasterSpatialRef::Dehydrate.

ENVIPointCloudSpatialRef

See ENVIPointCloudSpatialRef::Dehydrate.

ENVIRPCRasterSpatialRef

See ENVIRPCRasterSpatialRef::Dehydrate.

ENVIStandardRasterSpatialRef

See ENVIStandardRasterSpatialRef::Dehydrate.