You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run src = rasterio.open('https://github.com/opengeos/datasets/releases/download/raster/cog.tif') to open the image, I get this warning:
WARNING:rasterio._env:CPLE_AppDefined in cog.tif: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.
I'm not sure if that is related to the image only having 4 bands or not.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In lab 5 the Landsat image (https://github.com/opengeos/datasets/releases/download/raster/cog.tif) only has 4 bands, but band 5 (NIR) is needed to calculate NDWI in exercise 4.
src.meta
:When I run
src = rasterio.open('https://github.com/opengeos/datasets/releases/download/raster/cog.tif')
to open the image, I get this warning:WARNING:rasterio._env:CPLE_AppDefined in cog.tif: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.
I'm not sure if that is related to the image only having 4 bands or not.
Beta Was this translation helpful? Give feedback.
All reactions