def flatten(self, *args, **kwargs):
return self.raster.flatten(*args, **kwargs)<EOL>
geo.flatten(order='C')

Return a copy of the array collapsed into one dimension.

Parameters
----------
order : {'C', 'F', 'A'}, optional
    Whether to flatten in C (row-major), Fortran (column-major) order,
    or preserve the C/Fortran ordering from `a`.
    The default is 'C'.