Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/305.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python &引用;HTTP状态500内部服务器错误:不支持操作异常:从文件创建流时出错";-哨兵_Python_Sentinel2_Sentinelsat - Fatal编程技术网

Python &引用;HTTP状态500内部服务器错误:不支持操作异常:从文件创建流时出错";-哨兵

Python &引用;HTTP状态500内部服务器错误:不支持操作异常:从文件创建流时出错";-哨兵,python,sentinel2,sentinelsat,Python,Sentinel2,Sentinelsat,我正在使用SentinelAPI(来自sentinelsat)从sentinel下载卫星图像。 我正在使用的代码(不完全): 但是,有时我会收到错误消息(示例): 重要的是要强调错误不是永久性的,也就是说,如果我尝试在其他时间下载它,它可能会成功 我想听听这个问题的解决方案,或者通过API访问从sentinel下载产品的另一种方式 from sentinelsat import SentinelAPI api = SentinelAPI(user, password, 'https://scih

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

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

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

我想听听这个问题的解决方案,或者通过API访问从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