gridfile.sources

Return the ordered list of data sources in a gridfile


Syntax



Description

sources = obj.sources
sources = obj.sources([])
sources = obj.sources(0)

Returns the ordered list of data sources in a gridfile. The index of each data source in the list corresponds to the index of the data source in the gridfile.

sources = obj.sources(s)

Returns the list of data sources at the specified data source indices. The order of sources in the list corresponds to the order of input indices.


Input Arguments

s

logical vector [nSources] | vector, linear indices
The indices of the data sources that should be returned in the list.

Output Arguments

sources

string vector
The list of data sources.