This is a reference to an ENVIJagwireServer object.

Example


; Start the application
e = ENVI()
 
; Open the Jagwire Server
jagwireServer = ENVIJagwireServer('https://myserver/jagwire', $
  USERNAME='myusername', PASSWORD='mypassword')
 
; Print the server properties
print, jagwireServer
 
; Get a listings of all rasters on the Jagwire Server
listings = jagwireServer.Query()
 
; Open a raster from the listings
raster = e.OpenRaster(listings['datasetName'])
 
; Display the raster
view = e.GetView()
layer = view.CreateLayer(Raster)

Syntax


Result = ENVIJagwireServer(URL [, Keywords=value])

Return Value


This function returns a reference to an ENVIJagwireServer object.

Arguments


URL

A scalar string denoting the fully qualified URL path to the Jagwire server.

Methods


Close

Query

QueryDataset

Keywords


ERROR

Set this keyword to a named variable that will contain any error message issued during execution of this routine. If no error occurs, the ERROR variable will be set to a null string (''). If an error occurs and the routine is a function, then the function result will be undefined.

When this keyword is not set and an error occurs, ENVI returns to the caller and execution halts. In this case, the error message is contained within !ERROR_STATE and can be caught using IDL's CATCH routine. See IDL Help for more information on !ERROR_STATE and CATCH.

See Manage Errors for more information on error handling in ENVI programming.

Properties


URI (Init, Get)

A string that is a fully qualified URL path to a Jagwire server.

API Version


4.3

Version History


ENVI 5.3

Introduced

See Also