dash.stateVectorVariable.removeOverlap
Remove ensemble members that overlap previous members
Syntax
Description
Takes a set of dimensionally-subscripted ensemble members and removes any members whose metadata overlaps metadata in previous ensemble members. Each ensemble member is a row of subMembers. Removes overlapping members from the end of subMembers, so new ensemble members should be located at the end of subMembers in order to preserve previously saved ensemble members.
Note: This method can only be called after the variable has been finalized.
Input Arguments
dims
vector, linear indices [nEnsDims]
The dimension indices for the variable that correspond to the columns of subMembers.
subMembers
matrix, linear indices [nInitial x nEnsDims]
A set of dimensionally-subscripted ensemble members for the variable.
Output Arguments
subMembers
matrix, linear indices [nFinal x nEnsDims]
An updated set of dimensionally-subscripted ensemble members. Members with metadata that overlaps previous members have been removed.