Skip to content

Unable to download geotiff of unw and cc (LiCSBAS01_get_geotiff.py ver1.7.0) #140

@YuPengfei1999

Description

@YuPengfei1999

Getting the error as:

LiCSBAS01_get_geotiff.py ver1.7.0 20250907 Y. Morishita
LiCSBAS01_get_geotiff.py -s 20150101 -e 20221231

Frame ID is 136D_05396_202020

136D_05396_202020.geo.E.tif already exist. Skip download.
136D_05396_202020.geo.N.tif already exist. Skip download.
136D_05396_202020.geo.U.tif already exist. Skip download.
136D_05396_202020.geo.hgt.tif already exist. Skip download.

Download baselines
baselines, 14.86KB, 2s, 7.43KB/s
Download network.png
network.png, 1.16MB, 3s, 397.57KB/s
Download metadata.txt
metadata.txt, 253.0B, 1s, 253.0B/s

136D_05396_202020.geo.mli.tif already exist. Skip.

Download geotiff of unw and cc
2268 IFGs available from 20150107 to 20211219
Checking existing unw and cc (4 parallel, may take time)...
multiprocessing.pool.RemoteTraceback:
"""
urllib3.exceptions.SSLError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1017)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/site-packages/requests/adapters.py", line 644, in send
resp = conn.urlopen(
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/site-packages/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/site-packages/urllib3/util/retry.py", line 535, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='gws-access.jasmin.ac.uk', port=443): Max retries exceeded with url: /public/nceo_geohazards/LiCSAR_products/136/136D_05396_202020/interferograms/20200721_20210610/20200721_20210610.geo.unw.tif (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1017)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/yu/software/LiCSBAS2/bin/LiCSBAS01_get_geotiff.py", line 415, in check_exist_wrapper
url_data = tools_lib.extract_url_licsar(url_data)
File "/home/yu/software/LiCSBAS2/LiCSBAS_lib/LiCSBAS_tools_lib.py", line 200, in extract_url_licsar
response = requests.head(url, allow_redirects=True)
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/site-packages/requests/api.py", line 100, in head
return request("head", url, **kwargs)
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/site-packages/requests/adapters.py", line 675, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='gws-access.jasmin.ac.uk', port=443): Max retries exceeded with url: /public/nceo_geohazards/LiCSAR_products/136/136D_05396_202020/interferograms/20200721_20210610/20200721_20210610.geo.unw.tif (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1017)')))
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/yu/software/LiCSBAS2/bin/LiCSBAS01_get_geotiff.py", line 468, in
sys.exit(main())
File "/home/yu/software/LiCSBAS2/bin/LiCSBAS01_get_geotiff.py", line 314, in main
rc = p.map(check_exist_wrapper, args)
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/yu/software/anaconda3/envs/licsbas/lib/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
requests.exceptions.SSLError: None: Max retries exceeded with url: /public/nceo_geohazards/LiCSAR_products/136/136D_05396_202020/interferograms/20200721_20210610/20200721_20210610.geo.unw.tif (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1017)')))

Please help.
Thanks very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions