def _open_xarray_dataset(self, val, chunks=CHUNK_SIZE):
        """Read the band in blocks."""
        dask_arr = from_sds(val, chunks=chunks)
        attrs = val.attributes()
        return xr.DataArray(dask_arr, dims=('y', 'x'),
                            attrs=attrs)
def _open_xarray_dataset ( self , val , chunks = CHUNK_SIZE ) : dask_arr = from_sds ( val , chunks = chunks ) attrs = val . attributes ( ) return xr . DataArray ( dask_arr , dims = ( 'y' , 'x' ) , attrs = attrs )
Read the band in blocks.