It ran on my MacBook Pro for 5 hours...but did ultimately finish whew...
Not all TIFFs need an alpha channel added. We should use gdalinfo to check and see if the GeoTIFF already has an alpha channel, and only add it if it doesn't. To determine if the alpha channel is already there look in the .bands stanza of the JSON output, and inspect each one to see if the colorInterpretation is set to Alpha.
Blocked by #789
The
add_alpha
step innormalize_data
can sometimes take a very long time. For example try running thisgdalwarp
command using this001.tif
in this Google shared folder: https://drive.google.com/drive/folders/1gY6_SgLWwJhtJrYsiAG5X5kgda741LyoIt ran on my MacBook Pro for 5 hours...but did ultimately finish whew...
Not all TIFFs need an alpha channel added. We should use
gdalinfo
to check and see if the GeoTIFF already has an alpha channel, and only add it if it doesn't. To determine if the alpha channel is already there look in the.bands
stanza of the JSON output, and inspect each one to see if thecolorInterpretation
is set toAlpha
.Before:
After: