def _get_warped_array(<EOL>input_file=None,<EOL>indexes=None,<EOL>dst_bounds=None,<EOL>dst_shape=None,<EOL>dst_crs=None,<EOL>resampling=None,<EOL>src_nodata=None,<EOL>dst_nodata=None<EOL>):
try:<EOL><INDENT>return _rasterio_read(<EOL>input_file=input_file,<EOL>indexes=indexes,<EOL>dst_bounds=dst_bounds,<EOL>dst_shape=dst_shape,<EOL>dst_crs=dst_crs,<EOL>resampling=resampling,<EOL>src_nodata=src_nodata,<EOL>dst_nodata=dst_nodata<EOL>)<EOL><DEDENT>except Exception as e:<EOL><INDENT>logger.exception("<STR_LIT>", input_file, e)<EOL>raise<EOL><DEDENT>
Extract a numpy array from a raster file.