ensemble.load
Load the used variables and members of a saved ensemble
Syntax
Description
Loads a saved ensemble into memory. Only loads the variables and ensemble members being used by the ensemble object. By default, the ensemble object uses all variables and ensemble members saved in the .ens file. Use the “useVariables”, “useMembers”, and “evolving” commands to instead load a subset of the saved variables and ensemble members.
If the ensemble object implements a static ensemble, then the first output is a matrix with one row per state vector element, and one column per ensemble member. The second output is a scalar ensembleMetadata object that holds the metadata for this ensemble.
If the ensemble object implements an evolving ensemble, then the first output is a 3D array. The third dimension holds the different ensembles in the evolving set. The second output is a vector of ensembleMetadata objects, each holding the metadata for a particular ensemble in the evolving set.
Loads specific ensembles in the evolving set. The first output will be a 3D matrix and the length of the third dimension will match the number of requested ensembles. The second output will be a vector with one ensembleMetadata object per requested ensemble. If the input is -1, selects all ensembles in the evolving set.