错误“连接异常终止”,ConnectionResetError10054,“远程主机强行关闭了现有连接”,无,10054,无

问题描述

我正在将Sentinel 2卫星图像导入jupyter笔记本以进行栅格分析,但是在导入时我遇到了这个问题:

from sentinelsat import SentinelAPI
user = 'Username' 
password = 'password' 
api = SentinelAPI(user,password,'https://scihub.copernicus.eu/dhus/#/home')

from shapely.geometry import MultiPolygon,Polygon

footprint = None
for i in nReserve['geometry']:
    footprint = i

import time
#time.sleep(3)
products = api.query(footprint,date = ('20190601','20190610'),platformname = 'Sentinel-2',processinglevel = 'Level-2A',cloudcoverpercentage = (0,10)
                )

查询字符串太长,可能会导致错误的DHuS响应。 ConnectionError :(“连接已中止。”,ConnectionResetError(10054,“远程主机强行关闭了现有连接”,无,10054,无))

不胜感激

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)