def _np_type(self):
    'Returns the numpy type of this variable\n\n        This is the numpy type that will come directly out of the CDF;\n        see :meth:`dtype` for the representation post-conversion.\n\n        Raises\n        ======\n        CDFError : for library-reported error or failure to find numpy type\n\n        Returns\n        =======\n        out : dtype\n            numpy dtype that will hold value from this variable\n            \n        '
    cdftype = self.type()
    if ((cdftype == const.CDF_CHAR.value) or (cdftype == const.CDF_UCHAR.value)):
        return numpy.dtype(('S' + str(self._nelems())))
    try:
        return lib.numpytypedict[cdftype]
    except KeyError:
        raise CDFError(const.BAD_DATA_TYPE)
Returns the numpy type of this variable

This is the numpy type that will come directly out of the CDF;
see :meth:`dtype` for the representation post-conversion.

Raises
======
CDFError : for library-reported error or failure to find numpy type

Returns
=======
out : dtype
    numpy dtype that will hold value from this variable
def _np_type(self):
    'Returns the numpy type of this variable\n\n        This is the numpy type that will come directly out of the CDF;\n        see :meth:`dtype` for the representation post-conversion.\n\n        Raises\n        ======\n        CDFError : for library-reported error or failure to find numpy type\n\n        Returns\n        =======\n        out : dtype\n            numpy dtype that will hold value from this variable\n            \n        '
    cdftype = self.type()
    if ((cdftype == const.CDF_CHAR.value) or (cdftype == const.CDF_UCHAR.value)):
        return numpy.dtype(('S' + str(self._nelems())))
    try:
        return lib.numpytypedict[cdftype]
    except KeyError:
        raise CDFError(const.BAD_DATA_TYPE)