#api #satellite #sentinelsat #sentinel3
Вопрос:
Я пытаюсь загрузить данные Sentinel-3 с помощью API sentinelsat для Python. При запуске кода я получаю следующую ошибку:
«»
Ошибка TqdmKeyError(«Неизвестный аргумент(ы):» str(кварги)))
Ошибка TqdmKeyError: «Неизвестные аргументы: {‘задержка’: 2}».
«»
Есть идеи, как это решить?
Продукты, которые я пытаюсь загрузить: Sentinel-3 уровень 2 Температура поверхности земли (SL_2_LST). Период зондирования: 2020-01-01 — 2020-12-31
Я использую Spyder с Python 3.7. Ниже приведен мой полный код
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:UserscadDesktopcodingmap.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:UserscadDesktopcodingresults" #path to save the files
api.download_all(products, folder)