The checksums for most system tests change under gdal 2, due to, apparently, six extra bytes in raster files gdal generates, such as geotiffs. So most of the system tests have to change.
Also support both gdal 2 and gdal 1 in sentinel-2. Right now sentinel-2 will raise an exception if gdal 1's gdal_translate is invoked (lack of -tr option). Consider parsing the single line reported by gdal_translate --version then using that information to decide whether to proceed with a gdal 2 call, or use the previous code (which needs to be dug out of git history).
The checksums for most system tests change under gdal 2, due to, apparently, six extra bytes in raster files gdal generates, such as geotiffs. So most of the system tests have to change.
Also support both gdal 2 and gdal 1 in sentinel-2. Right now sentinel-2 will raise an exception if gdal 1's
gdal_translate
is invoked (lack of-tr
option). Consider parsing the single line reported bygdal_translate --version
then using that information to decide whether to proceed with a gdal 2 call, or use the previous code (which needs to be dug out of git history).