-
Notifications
You must be signed in to change notification settings - Fork 303
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
Fix geotiff writer ignoring dtype argument #1733
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1733 +/- ##
=======================================
Coverage 92.83% 92.83%
=======================================
Files 260 260
Lines 38552 38561 +9
=======================================
+ Hits 35791 35800 +9
Misses 2761 2761
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
I'm inclined to avoid the "annoying" warning and assume that the user understands what they are saying when they do this. But I don't feel that strongly. I'm also not sure how common this "most cases" is. For reflectance data this wouldn't be that bad (major loss of precision, but still). For BT data, yeah not good. For RGBs, yeah not great either probably. If you want to add the warning go for it. If @mraspaud or @pnuu or @gerritholl have feelings about this, speak now. |
I totally agree. I just suggested it because some users might not be aware and would wonder why their image looks so weird :-D. So if anyone want's me to add it I will, otherwise I am ok with how it is. |
In DWD we've been generating images with |
Seems I lost track of this. Thanks again @BENR0. |
This fixes #1730