variable_value#
- Reader.variable_value(variable: Variable, rank: int | None = None) float #
For any “case” variable (e.g. time), the value of the variable.
- Parameters:
- variable
The variable to query. Note, this variable location must be on a CASE.
- rank
int
,optional
For a dataset using multiple ranks, the rank to return data from. The default is RankValues.SINGLE_RANK.
- Returns
- ——-
- float
The value of the variable.