Skip to content

das2c_srclist

C. Piker edited this page Dec 6, 2023 · 3 revisions

FUNCTION

das2c_srclist

PURPOSE

List das2 data stream sources on a given server

CALLING SEQUENCE

string_ary = das2c_srclist(server_root)

INPUTS

Variable Type Purpose
server_root string The top level service point of a das2 server.

Typically this includes the protocol, host name, and a path. For example:

'https://juno.physics.uiowa.edu/das/server'

OUTPUT

An array of structures. Each one represents a data source that can be queried by time, and optionally, other parameters. If there are no datasources on the server (unlikely) an empty array is returned. If the given URL is not a das2 server root, or if there are other communication problems, an error is thrown.

EXAMPLES

root = 'https://juno.physics.uiowa.edu/das/server'
src_ary = das2c_srclist(root)
print, 'Data sources available from ', root, ' are:'
foreach src, src_ary  print, "   ", src

MODIFICATION HISTORY

C. Piker, 2023-12-03 - Initial

Clone this wiki locally