getVarDim()

Return dimension of a variable which corresponds to varInfo (variable name or ID).

Usage

varDim = vis.getVarDim( varInfo )

Parameters

varInfo (integer) or (string)
Name or ID of a variable.

Return Value

varDim (integer)
Dimension of the variable corresponding to the varInfo.

Errors

varInfo should be valid.

Description

This routine returns the dimension of a variable which corresponds to varInfo, which is the name or ID of the variable. For example,
varDim = vis.getVarDim( "velocity" )