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

Can't bypass scaling in Grayscale Geotiff Writing #1052

Open
WeatherGod opened this issue Aug 4, 2022 · 0 comments
Open

Can't bypass scaling in Grayscale Geotiff Writing #1052

WeatherGod opened this issue Aug 4, 2022 · 0 comments

Comments

@WeatherGod
Copy link
Contributor

ArrayByte result = replaceMissingValuesAndScale(array, data, dataMinMax);

My data that is being served by the WCS service in TDS is already unsigned bytes for categorical data, but the geotiff I get from WCS gets scaled and loses the original categorical values. It would be nice to have a way to either flag that the data should not get scaled/offset prior to saving, or detect that the input/output grid dtypes are the same and leave things alone?

Even better would be to have an option for paletted geotiffs, which my source dataset has specified list of colors that works for the WMS service.

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

1 participant