dash.gridfileSources.build

Build the dataSource object for a data source in the catalogue


Syntax



Description

dataSource = obj.build(s)

Builds a data source object for the specified data source stored in the gridfileSources object.

dataSource = obj.build(s, filepath)

Builds a data source object using values stored in the gridfileSources object, but with a custom filepath.


Input Arguments

s

numeric scalar
The index of a data source in the catalogue.

filepath

string scalar
The absolute filename to use when building the dataSource.

Output Arguments

dataSource

scalar dataSource object
The dataSource object for the source file.