def __getitem__(self, name):
    'Gets a zVariable in this CDF, by name or number\n\n        The CDF acts like a dict\n\n        @param name: Name or number of the CDF variable\n        @type name: string or int\n        @return: CDF variable named or numbered L{name}\n        @rtype: :py:class:`pycdf.Var`\n        @raise KeyError: for pretty much any problem in lookup\n        @note: variable numbers may change if variables are added or removed.\n        '
    try:
        return Var(self, name)
    except CDFException as e:
        raise KeyError('{0}: {1}'.format(name, e))
Gets a zVariable in this CDF, by name or number

The CDF acts like a dict

@param name: Name or number of the CDF variable
@type name: string or int
@return: CDF variable named or numbered L{name}
@rtype: :py:class:`pycdf.Var`
@raise KeyError: for pretty much any problem in lookup
@note: variable numbers may change if variables are added or removed.
def __getitem__(self, name):
    'Gets a zVariable in this CDF, by name or number\n\n        The CDF acts like a dict\n\n        @param name: Name or number of the CDF variable\n        @type name: string or int\n        @return: CDF variable named or numbered L{name}\n        @rtype: :py:class:`pycdf.Var`\n        @raise KeyError: for pretty much any problem in lookup\n        @note: variable numbers may change if variables are added or removed.\n        '
    try:
        return Var(self, name)
    except CDFException as e:
        raise KeyError('{0}: {1}'.format(name, e))