Issue by Sascha Gey:
after: py gts2_client.py -o potsdam_test -r pdam1 -m stack -l 52.308997 -k 12.845549 -i 52.478329 -j 13. 179397 -a S2A -b B02_B03_B04_B05_B06_B07_B08_B8A_B11_B12 -s 20160501 -e 20160503 -c True -z 0.5
I got the following output: ('### Requesting data from the GTS2 server ...',)
API-call: https://rz-vm175.gfz-potsdam.de:80/AC/B02_B03_B04_B05_B06_B07_B 08_B8A_B11_B12/20160501_20160503/12.84555_13.17940_52.30900_52.47833?minimum_fil l=0.10&sensor=S2A&level=L2A&version=0.10&suffix=coreg&max_cloudy=0.5&utm_zone=
Runtime of API 1.52 minutes
('### Converting data to stack tif-files ...',) Traceback (most recent call last): File "gts2_client.py", line 367, in stack_resolution=args.stack_resolution) File "gts2_client.py", line 294, in api_to_tiff raise Exception("Something went wrong while stacking. " + traceback.format_e xc()) Exception: Something went wrong while stacking. Traceback (most recent call last ): File "gts2_client.py", line 270, in api_to_tiff img.SetProjection(geo_proj) File "C:\Users\stereo\Anaconda2\lib\site-packages\osgeo\gdal.py", line 1702, i n SetProjection return _gdal.Dataset_SetProjection(self, *args) TypeError: in method 'Dataset_SetProjection', argument 2 of type 'char const *'
"pip freeze" tells me that GDAL is installed (version 2.1.0). I also get a single stacked .tif, but its empty. Using "-m single" results basically in the same error, only with "something went wrong while writing single tifs".
Thank you very much for your efforts.
Sascha