ensemble.useMembers
Select which ensemble members should be used by an ensemble
Syntax
Description
obj = obj.useMembers(staticMembers)
Indicates which ensemble members should be used by a static ensemble. The elements of “members” list the indices of ensemble members saved in the .ens file. After using this command, the ensemble will only load these specified ensemble members when using the “ensemble.load” command. Unused ensemble members will not be loaded into memory. By default, ensemble objects load all the ensemble members saved in the .ens file, so use this command when you want to load a subset of the saved ensemble members.
Indicates that a static ensemble should use all ensemble members saved in the .ens file. This syntax cannot be used if the ensemble object implements an evolving ensemble.
obj = obj.useMembers(evolvingMembers)
Select the ensemble members that should be used by an evolving ensemble. Note that this syntax cannot be used to initialize an evolving ensemble - instead, it updates the ensemble members used by an existing evolving ensemble. (See the “ensemble.evolving” command to initialize a new evolving ensemble). Each column of the input holds the ensemble members for an ensemble in the evolving set. The number of rows must match the current number of ensemble members used by each ensemble in the existing evolving set.
obj = obj.useMembers(-1, evolvingMembers)
Select ensemble members for specific ensembles in the evolving set. The second input must have one column per selected ensemble. If the first input is -1, selects all ensembles in the evolving set. This syntax is provided as a convenience, but in general, we recommend instead using the “ensemble.evolving” command to select members for an evolving ensemble.