def _read_as_tiledir(<EOL>self,<EOL>out_tile=None,<EOL>td_crs=None,<EOL>tiles_paths=None,<EOL>profile=None,<EOL>validity_check=False,<EOL>indexes=None,<EOL>resampling=None,<EOL>dst_nodata=None,<EOL>gdal_opts=None,<EOL>**kwargs<EOL>):
return _read_as_tiledir(<EOL>data_type=self.METADATA["<STR_LIT>"],<EOL>out_tile=out_tile,<EOL>td_crs=td_crs,<EOL>tiles_paths=tiles_paths,<EOL>profile=profile,<EOL>validity_check=validity_check,<EOL>indexes=indexes,<EOL>resampling=resampling,<EOL>dst_nodata=dst_nodata,<EOL>gdal_opts=gdal_opts,<EOL>**{k: v for k, v in kwargs.items() if k != "<STR_LIT>"}<EOL>)<EOL>
Read reprojected & resampled input data.

Parameters
----------
validity_check : bool
    vector file: also run checks if reprojected geometry is valid,
    otherwise throw RuntimeError (default: True)

indexes : list or int
    raster file: a list of band numbers; None will read all.
dst_nodata : int or float, optional
    raster file: if not set, the nodata value from the source dataset
    will be used
gdal_opts : dict
    raster file: GDAL options passed on to rasterio.Env()

Returns
-------
data : list for vector files or numpy array for raster files