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

Automatically determine rescale if not provided? #16

Open
ahuang11 opened this issue Jul 20, 2023 · 1 comment
Open

Automatically determine rescale if not provided? #16

ahuang11 opened this issue Jul 20, 2023 · 1 comment

Comments

@ahuang11
Copy link
Contributor

Using ds.min() and ds.max() maybe.

@vincentsarago
Copy link
Member

@ahuang11 we already check for valid_min and valid_max in rio-tiler https://github.com/cogeotiff/rio-tiler/blob/main/rio_tiler/io/xarray.py#L249-L253

Maybe that's not enough but I don't know the implication of calling min() and max()

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

No branches or pull requests

2 participants