Skip to content

Instantly share code, notes, and snippets.

@vincentsarago
Last active February 10, 2020 03:40
Show Gist options
  • Save vincentsarago/7ca99cc74f88b04ea592cbe0d9477ed8 to your computer and use it in GitHub Desktop.
Save vincentsarago/7ca99cc74f88b04ea592cbe0d9477ed8 to your computer and use it in GitHub Desktop.
$ rio cogeo validate s3://ds-satellite/raw/ABoVE_LandCover_1984_2014/ABoVE_LandCover_Simplified_Bh17v10.tif
The following errors were found:
- The file is greater than 512xH or 512xW, but is not tiled
- The offset of the main IFD should be 8 for ClassicTIFF or 16 for BigTIFF. It is 32340442 instead
- The offset of the first block of overview of index 1 should be after the one of the overview of index 2
- The offset of the first block of overview of index 0 should be after the one of the overview of index 1
- The offset of the first block of the main resolution image should be after the one of the overview of index 2
s3://ds-satellite/raw/ABoVE_LandCover_1984_2014/ABoVE_LandCover_Simplified_Bh17v10.tif is NOT a valid cloud optimized GeoTIFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment