Closed matthewhanson closed 5 years ago
Well shoot yeah i'd say this is pretty ugly way to say do dont this. Will work on it.
I thought this sounded odd. I am unable to reproduce this with the latest gbdxtools. Please try upgrading and if it still happens, reopen the issue.
GBDX Username
matthew@developmentseed.org
GBDX Account Tier
Working on project for World Bank on their account, think it's probably GBDX Enterprise.
GBDXTools Version
[ 0.16.0 ]
Python Version
Environment
Using docker, with geolambda image and gbdxtools installed.
Description
When saving a GeoTiff of a pan-sharpened image for Worldview-1 tiles a cryptic error message is returned. An error is fine, pan-sharpening a single panchromatic band does not make sense, there are no other bands to pan-sharpen.
Expected behavior:
gbdxtools should throw a more descriptive error indicating that pan-sharpening is not supported for this data.
Actual behavior:
The error is "Index out of bounds 1", full stack trace:
Example