OEGetBytesFromGrid

OEGetBytesFromGrid(grid: OEScalarGrid, gType: int) -> bytes
OEGetBytesFromGrid(grid: OESkewGrid, gType: int) -> bytes

Converts a grid (OEScalarGrid, OESkewGrid) with the file type, gtype (OEGridFileType), to bytes.