“HTTP 状态 500 内部服务器错误:UnsupportedOperationException:从文件创建流时出错”- SentinelAPI

问题描述

我正在使用 SentinelAPI(来自 sentinelsat),从 sentinel 下载卫星图像。 我正在使用的代码(不完全):

from sentinelsat import SentinelAPI
api = SentinelAPI(user,password,'https://scihub.copernicus.eu/dhus')
products = api.query(fprintile.centroid.wkt,date=(Idate,Edate),platformname='Sentinel-2',processinglevel=levels,cloudcoverpercentage=(0,10)
                                 )

但是,有时我会收到错误消息(示例):

type error: HTTP status 500 Internal Server Error: UnsupportedOperationException : Error creating stream from file /mnt/s2bl1c/dhus/incoming/x5/x6/x1/S2B_MSIL1C_20210428T182909_N0300_R027_T11SMT_20210428T214807.zip

需要强调的是,该错误不是永久性的,也就是说,如果我尝试在其他时间下载它可能会成功。

我很想知道这个问题的解决方案,或者另一种通过 API 访问从哨兵下载产品的方法

解决方法

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

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

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