def convert_input_array(self, buffer):
    'Converts a buffer of raw data from this slice\n\n        EPOCH(16) variables always need to be converted.\n        CHAR need converted to Unicode if py3k\n\n        Parameters\n        ==========\n        buffer : numpy.array\n            data as read from the CDF file\n\n        Returns\n        =======\n        out : numpy.array\n            converted data\n        '
    result = self._flip_array(buffer)
    cdftype = self.zvar.type()
    if (not self.zvar._raw):
        if ((cdftype in (const.CDF_CHAR.value, const.CDF_UCHAR.value)) and (str != bytes)):
            dt = numpy.dtype('U{0}'.format(result.dtype.itemsize))
            result = numpy.require(numpy.char.array(result).decode(), dtype=dt)
        elif (cdftype == const.CDF_EPOCH.value):
            result = lib.v_epoch_to_datetime(result)
        elif (cdftype == const.CDF_EPOCH16.value):
            result = lib.v_epoch16_to_datetime(result)
        elif (cdftype == const.CDF_TIME_TT2000.value):
            result = lib.v_tt2000_to_datetime(result)
    return result
Converts a buffer of raw data from this slice

EPOCH(16) variables always need to be converted.
CHAR need converted to Unicode if py3k

Parameters
==========
buffer : numpy.array
    data as read from the CDF file

Returns
=======
out : numpy.array
    converted data
def convert_input_array(self, buffer):
    'Converts a buffer of raw data from this slice\n\n        EPOCH(16) variables always need to be converted.\n        CHAR need converted to Unicode if py3k\n\n        Parameters\n        ==========\n        buffer : numpy.array\n            data as read from the CDF file\n\n        Returns\n        =======\n        out : numpy.array\n            converted data\n        '
    result = self._flip_array(buffer)
    cdftype = self.zvar.type()
    if (not self.zvar._raw):
        if ((cdftype in (const.CDF_CHAR.value, const.CDF_UCHAR.value)) and (str != bytes)):
            dt = numpy.dtype('U{0}'.format(result.dtype.itemsize))
            result = numpy.require(numpy.char.array(result).decode(), dtype=dt)
        elif (cdftype == const.CDF_EPOCH.value):
            result = lib.v_epoch_to_datetime(result)
        elif (cdftype == const.CDF_EPOCH16.value):
            result = lib.v_epoch16_to_datetime(result)
        elif (cdftype == const.CDF_TIME_TT2000.value):
            result = lib.v_tt2000_to_datetime(result)
    return result