我正在致力于将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,‘远程主机已强制关闭现有连接’,None,10054,None))
发布于 2020-10-20 15:41:17
我不确定,但我认为这条信息:
查询字符串太长,可能会导致错误的DHuS响应
表示您的查询有问题。检查footprint,因为query中的所有其他参数似乎都没问题。
https://stackoverflow.com/questions/64435586
复制相似问题