Example


This example builds a spatiotemporal series from sample gridded data in the ENVI installation path. It then creates and displays the raster series layer.

; Start the application
e = ENVI()
 
; Locate a raster series file
seriesFile = Filepath('AirTemp.series', Subdir=['data','time_series'], $
  Root_Dir = e.Root_Dir)
 
; Create a raster series object
series = ENVIRasterSeries(seriesFile)
 
; Create a view
View = e.GetView()
 
; Create a raster series layer
Layer = View.CreateLayer(series)

Return Value


This function returns a reference to an ENVIRasterSeriesLayer object.

Methods


ENVIRasterSeriesLayer inherits all of the methods from ENVIRasterLayer. In addition, the following methods are unique to ENVIRasterSeriesLayer:

First

Last

Next

Previous

Set

Properties


ENVIRasterSeriesLayer inherits all of the methods from ENVIRasterLayer.

Version History


ENVI 5.2

Introduced

API Version


4.2

See Also


ENVIRasterLayer, ENVIRasterSeries, BuildRasterSeries Task, BuildTimeSeries Task