A certain combination of parameters leads to unexpected results
See original GitHub issueIssue Description
I would expect to get the same set of mask_flags
for Case 4 as for the rest of the cases. Am I missing something or it is a bug?
$ rio info original.tif | jq -c .mask_flags,.nodata
[["nodata"],["nodata"],["nodata"]]
0
🟢 Case 1
--add-mask
$ rio cogeo create --add-mask original.tif cogeo1.tif
$ rio info cogeo1.tif | jq -c .mask_flags
[["per_dataset"],["per_dataset"],["per_dataset"]]
🟢 Case 2
--add-mask --web-optimized
$ rio cogeo create --add-mask --web-optimized original.tif cogeo2.tif
$ rio info cogeo2.tif | jq -c .mask_flags
[["per_dataset"],["per_dataset"],["per_dataset"]]
🟢 Case 3
--add-mask --use-cog-driver
$ rio cogeo create --add-mask --use-cog-driver original.tif cogeo3.tif
$ rio info cogeo3.tif | jq -c .mask_flags
[["per_dataset"],["per_dataset"],["per_dataset"]]
🔴 Case 4
--add-mask --use-cog-driver --web-optimized
$ rio cogeo create --add-mask --use-cog-driver --web-optimized original.tif cogeo4.tif
$ rio info cogeo4.tif | jq -c .mask_flags
[["per_dataset","alpha"],["per_dataset","alpha"],["per_dataset","alpha"],["all_valid"]]
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Parameter Types - Ivanti
A Credentials parameter is a combination of domain\username and password. ... it may lead to unpredictable results when linking in Projects and Run...
Read more >Snakemake expand is generating unexpected combinations ...
In my rule all, I use expand and zip to create a list of target files; however, I'm encountering an error in which...
Read more >Unexpected Results in Chromatography - AWS
These basic experiments will show how different starting run conditions affect peak retention times (direction of movement in the chromatogram).
Read more >2143-Examples of Basic Requirements of a Prima Facie Case ...
(3), a proper rejection based on the rationale that the claimed invention is a combination of prior art elements also includes a finding...
Read more >Measurements and Error Analysis - WebAssign
The process of evaluating the uncertainty associated with a measurement result is often called uncertainty analysis or error analysis.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@vincentsarago you can reproduce it with publicly available dataset:
It works fine. At least it doesn’t produce an alpha band which is my main problem.