def _flip_array(self, data):
    '\n        Operations for majority, etc. common between convert_input and _output\n        '
    cdftype = self.zvar.type()
    if (self.column and (not min(self.degen))):
        if self.degen[0]:
            if (cdftype == const.CDF_EPOCH16.value):
                data = data.transpose((list(range((len(data.shape) - 2), 0, (- 1))) + [(len(data.shape) - 1)]))
            else:
                data = data.transpose()
        elif (cdftype == const.CDF_EPOCH16.value):
            data = data.transpose((([0] + list(range((len(data.shape) - 2), 0, (- 1)))) + [(len(data.shape) - 1)]))
        else:
            data = data.transpose(([0] + list(range((len(data.shape) - 1), 0, (- 1)))))
    if self.rev.any():
        sliced = [(slice(None, None, (- 1)) if self.rev[i] else slice(None)) for i in range(self.dims) if (not self.degen[i])]
        if (cdftype == const.CDF_EPOCH16.value):
            sliced.extend(slice(None))
        data = operator.getitem(data, tuple(sliced))
    return data
Operations for majority, etc. common between convert_input and _output
def _flip_array(self, data):
    '\n        \n        '
    cdftype = self.zvar.type()
    if (self.column and (not min(self.degen))):
        if self.degen[0]:
            if (cdftype == const.CDF_EPOCH16.value):
                data = data.transpose((list(range((len(data.shape) - 2), 0, (- 1))) + [(len(data.shape) - 1)]))
            else:
                data = data.transpose()
        elif (cdftype == const.CDF_EPOCH16.value):
            data = data.transpose((([0] + list(range((len(data.shape) - 2), 0, (- 1)))) + [(len(data.shape) - 1)]))
        else:
            data = data.transpose(([0] + list(range((len(data.shape) - 1), 0, (- 1)))))
    if self.rev.any():
        sliced = [(slice(None, None, (- 1)) if self.rev[i] else slice(None)) for i in range(self.dims) if (not self.degen[i])]
        if (cdftype == const.CDF_EPOCH16.value):
            sliced.extend(slice(None))
        data = operator.getitem(data, tuple(sliced))
    return data