Translate WKT Raster pixel type to NumPy data type
Definition at line 52 of file rtrowdump.py.
53 """Translate WKT Raster pixel type to NumPy data type"""
56 '16BSI' : numpy.int16,
57 '16BUI' : numpy.uint16,
58 '32BSI' : numpy.int32,
59 '32BUI' : numpy.uint32,
60 '32BF' : numpy.float32,
61 '64BF' : numpy.float64
63 return numpytypes.get(pt, numpy.uint8)