Hello everyone!
I'm new to FORCE and to Docker... so bear with me!
While the download of Landsat data works without any problems, I'm encountering some problems when I want to download Sentinel-2 data.
I followed the instructions to configure gsutil and have a .boto file, but I'm not 100% sure how to use the command that is described
here as a docker work around. Am I right to assume, that I'll just have to integrate that part into my command like so:
sudo docker run -it -v /home/user/:/credentials --env BOTO_CONFIG=/credentials/.boto -v /media/user/WD500/force_data/:/data fegyi001/force force-level1-csd -c 0,80 -d 20190601,20190630 -s S2A,S2B /data/meta_catalogues /data/level-1-pool queue /data/shape_4326.gpkg
Unfortunately I always end up with the following error:
Downloading S2B_MSIL1C_20190601T102029_N0207_R065_T32UPC_20190601T123553(1 of 80)...
tput: No value for $TERM and no -T specified
| | 0 % Traceback (most recent call last):
File "/usr/local/bin/gsutil", line 7, in <module>
from gslib.__main__ import main
File "/usr/local/lib/python3.6/dist-packages/gslib/__main__.py", line 53, in <module>
import boto
File "/usr/local/lib/python3.6/dist-packages/gslib/vendored/boto/boto/__init__.py", line 53, in <module>
config = Config()
File "/usr/local/lib/python3.6/dist-packages/gslib/vendored/boto/boto/pyami/config.py", line 63, in __init__
self.read(BotoConfigLocations)
File "/usr/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/usr/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3148: ordinal not in range(128)
If that isn't the right way, I'd happy if someone could enlighten me :)
Cheers and regards,
Marco