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

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

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 访问从哨兵下载产品的方法

以上是“HTTP状态500内部服务器错误:UnsupportedOperationException:从文件创建流时出错”-SentinelAPI的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>