def __len__(self):
    'Get number of records for this variable in this file\n\n        @return: Number of records\n        @rtype: long\n        @raise CDFError: if CDF library reports an error\n        @raise CDFWarning: if CDF library reports a warning and interpreter\n                           is set to error on warnings.\n        '
    count = ctypes.c_long(0)
    self._call(const.GET_, const.zVAR_MAXREC_, ctypes.byref(count))
    return (count.value + 1)
Get number of records for this variable in this file

@return: Number of records
@rtype: long
@raise CDFError: if CDF library reports an error
@raise CDFWarning: if CDF library reports a warning and interpreter
                   is set to error on warnings.
def __len__(self):
    'Get number of records for this variable in this file\n\n        @return: Number of records\n        @rtype: long\n        @raise CDFError: if CDF library reports an error\n        @raise CDFWarning: if CDF library reports a warning and interpreter\n                           is set to error on warnings.\n        '
    count = ctypes.c_long(0)
    self._call(const.GET_, const.zVAR_MAXREC_, ctypes.byref(count))
    return (count.value + 1)