Get values of a given variable.
variable (str) – Variable key.
keepdims (bool) – If this is set to False, single-dimensions are removed. Otherwise dimensions are kept (default).
default (float) – Default value assigned to all pressure levels, if the variable is not found.
ndarray – Array containing the values assigned to the variable.