ensembleMetadata.variable
Return metadata for a variable in a state vector ensemble
Syntax
Description
Returns the metadata for a particular dimension of a variable. If the dimension is a state dimension, returns the metadata down the rows of the state vector. If the dimension is an ensemble dimension, returns the metadata across the ensemble members. If the dimension is an ensemble dimension with a sequence, returns the sequence metadata down the rows of the state vector.
Return metadata at the specified rows or ensemble members. Here, rows are interpreted relative to the variable’s rows, rather than all the rows in the state vector. For example, setting variableRows=1 will return metadata for the first row of the variable, regardless of the variable’s overall position in the state vector.
Specify which type of metadata to return the for the dimension. If “members”|”m”, returns metadata across the ensemble members. If “rows”|”r”, returns metadata down the rows of the state vector. If “default”|”d”, behaves identically to the first syntax and decides internally which metadata to return.
Specify both the type of metadata to return, and also the rows or ensemble members.
Input Arguments
v
variableName
dimension
variableRows
members
type
[“d”|”default”]: Let the method decide which type of metadata to return
[“r”|”rows”]: Return metadata down the rows of the state vector
[“m”|”members”]: Return metadata across the ensemble members