dash.gridfileSources.unpack

Convert catalogued values to their original data types


Syntax



Description

[dims, size, mergedDims, mergedSize, mergeMap] = obj.unpack(s)

Returns recorded values for a data source in the catalogue. Converts recorded values from optimized save/load data types to original data types.


Input Arguments

s

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

Output Arguments

dims

string vector [nNonTS]
The list of non-trailing-singleton dimensions in the data source.

size

numeric vector [nNonTS]
The size of each nonTS dimension in the data source.

mergedDims

string vector [nMerged]
The list of merged nonTS dimensions for the data source.

mergedSize

string vector [nMerged]
The size of each merged dimension for the data source.

mergeMap

numeric vector [nNonTS]
A vector mapping each original dimension to the merged dimension that includes it. Has one element per original dimension. Each element holds the index of the merged dimension that includes the original dimension.