ensemble.loadRows
Load specific rows of the used subset of a saved ensemble
Syntax
Description
Loads specific rows of the ensemble into memory. The rows are determined relative to the subset of the saved ensemble that is being used by the ensemble object. Only the elements of variables being used by the ensemble are counted as state vector rows. By default, the ensemble object uses all variables saved in the .ens file. Use the “useVariables” command to instead load a subset of the saved variables.
If the ensemble object implements a static ensemble, then the output array is a matrix with one row per requested row, and one column per used ensemble member. If the object implements an evolving ensemble, then the output array is a 3D array, and the third dimension holds the requested rows for different ensembles in the evolving set.
Also returns the ensemble members and evolving labels associated with the loaded datast.
Load rows for specific ensembles in the evolving set. The output array will be a 3D matrix and the length of the third dimension will match the number of requested ensembles. If the second input is -1, selects all ensembles in the evolving set.
Input Arguments
rows
e
labels
Output Arguments
X
members
.ens file. The columns of “members” list the ensemble members for different loaded evolving ensembles.