Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make rio_tiler.reader.read public #332

Closed
vincentsarago opened this issue Jan 23, 2021 · 0 comments · Fixed by #334
Closed

make rio_tiler.reader.read public #332

vincentsarago opened this issue Jan 23, 2021 · 0 comments · Fixed by #334

Comments

@vincentsarago
Copy link
Member

def _read(
src_dst: Union[DatasetReader, DatasetWriter, WarpedVRT],
height: Optional[int] = None,
width: Optional[int] = None,
indexes: Optional[Union[Sequence[int], int]] = None,
window: Optional[windows.Window] = None,
force_binary_mask: bool = True,
nodata: Optional[Union[float, int, str]] = None,
unscale: bool = False,
resampling_method: Resampling = "nearest",
vrt_options: Optional[Dict] = None,
post_process: Optional[
Callable[[numpy.ndarray, numpy.ndarray], Tuple[numpy.ndarray, numpy.ndarray]]
] = None,
) -> Tuple[numpy.ndarray, numpy.ndarray]:

Because the function is private it is not rendered in the API docs. I think making this function public will be 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant