def read(self, bands=None, **kwargs):
arr = self<EOL>if bands is not None:<EOL><INDENT>arr = self[bands, ...]<EOL><DEDENT>return arr.compute(scheduler=threaded_get)<EOL>
Reads data from a dask array and returns the computed ndarray matching the given bands

        Args:
            bands (list): band indices to read from the image. Returns bands in the order specified in the list of bands.

        Returns:
            ndarray: a numpy array of image data