dash.gridfileSources.indices
Parse the indices of data sources in the catalogue
Syntax
Description
Parse the indices of data sources in the catalogue. Error checks array indices and locates source names. Returns linear indices to the specified sources. Throws error if sources are an unrecognized input type.
Input Arguments
sources
any data type
The input being parsed. If valid, should either be array indices or source names.
header
string scalar
Header for thrown error IDs.
Output Arguments
indices
vector, linear indices
The indices of the specified data sources in the catalogue.