data = np.fromfile(filename, dtype='int32').reshape(ny,nx)