我正在尝试使用Python的哨兵卫星API下载Sentinel-3数据。在运行代码时,我会得到以下错误:
"“
TqdmKeyError(“未知数”:+str(Kwargs))
TqdmKeyError:“未知参数:{‘延迟’:2}”。
"“
知道怎么解决吗?
我想下载的产品:哨兵-3级2级地面温度(SL_2_LST).传感期: 2020-01-01至2020-12-31
我正在使用Python3.7中的Spyder。下面是我的完整代码
from sentinelsat import SentinelAPI, read_geojson, geojson_to_wkt
from datetime import date
api = SentinelAPI("myusername", "mypassword", "https://apihub.copernicus.eu/apihub")
# Converting Date intel format
initialDate = "2020-01-12"
date_in = "{}{}{}".format(initialDate[0:4], initialDate[5:7], initialDate[8:] )
finalDate = "2020-12-31"
date_end = "{}{}{}".format(finalDate[0:4], finalDate[5:7], finalDate[8:] )
# Loading the area of interest
footprint = geojson_to_wkt(read_geojson(r"C:\Users\cad\Desktop\coding\map.geojson"))
# Launching the download
products = api.query(footprint,
platformname = "sentinel-3",
producttype = "SL_2_LST___",
date = (str(date_in), str(date_end))
)
folder = r"C:\Users\cad\Desktop\coding\results" #path to save the files
api.download_all(products, folder)发布于 2022-01-24 08:23:15
我也有同样的问题。我通过将tqdm包更新到4.59版本来解决这个问题。
pip install tqdm==4.59https://stackoverflow.com/questions/70130622
复制相似问题