Commit be03005b authored by benjaminpillot's avatar benjaminpillot
Browse files

Define homemade numpy to gdal mapper for data types

parent bd877164
......@@ -14,3 +14,13 @@ GDAL_TO_NUMPY = {1: "int8",
7: "float64",
10: "complex64",
11: "complex128"}
NUMPY_TO_GDAL = {"int8": 1,
"uint16": 2,
"int16": 3,
"uint32": 4,
"int32": 5,
"float32": 6,
"float64": 7,
"complex64": 10,
"complex128": 11}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment