Hi everyone.
I would like to know how to download the data(.safe) in batches? I use sentinelhub python to get the available data list.
catalog = SentinelHubCatalog(config=config)
catalog.get_info()
search_iterator = catalog.search(
DataCollection.SENTINEL2_L2A,
bbox=caspian_sea_bbox,
time=time_interval,
filter="eo:cloud_cover < 5",
fields={"include": ["id", "properties.datetime", "properties.eo:cloud_cover"], "exclude": []},
)
results = list(search_iterator)
print("Total number of results:", len(results))
results
Then I get a list
[{‘id’: ‘S2A_MSIL2A_20210125T073201_N0500_R049_T39TWK_20230528T024029.SAFE’,
‘properties’: {‘datetime’: ‘2021-01-25T07:37:20.296Z’,
‘eo:cloud_cover’: 1.18}},
{‘id’: ‘S2A_MSIL2A_20210125T073201_N0500_R049_T39TVL_20230528T024029.SAFE’,
‘properties’: {‘datetime’: ‘2021-01-25T07:37:09.425Z’,
‘eo:cloud_cover’: 4.0}},
{‘id’: ‘S2A_MSIL2A_20210125T073201_N0500_R049_T39TWL_20230528T024029.SAFE’,
‘properties’: {‘datetime’: ‘2021-01-25T07:37:05.835Z’,
‘eo:cloud_cover’: 0.43}},
{‘id’: ‘S2A_MSIL2A_20210105T073311_N0500_R049_T39TWK_20230404T141905.SAFE’,
‘properties’: {‘datetime’: ‘2021-01-05T07:37:20.216Z’,
‘eo:cloud_cover’: 2.56}},
{‘id’: ‘S2A_MSIL2A_20201226T073321_N0500_R049_T39TWK_20230414T073429.SAFE’,
‘properties’: {‘datetime’: ‘2020-12-26T07:37:19.181Z’,
‘eo:cloud_cover’: 2.61}},
{‘id’: ‘S2A_MSIL2A_20201226T073321_N0500_R049_T39TVL_20230414T073429.SAFE’,
‘properties’: {‘datetime’: ‘2020-12-26T07:37:08.298Z’,
‘eo:cloud_cover’: 3.06}},
{‘id’: ‘S2A_MSIL2A_20201226T073321_N0500_R049_T39TWL_20230414T073429.SAFE’,
‘properties’: {‘datetime’: ‘2020-12-26T07:37:04.725Z’,
‘eo:cloud_cover’: 1.9}},
{‘id’: ‘S2A_MSIL2A_20201216T073321_N0500_R049_T39TWL_20230323T215920.SAFE’,
‘properties’: {‘datetime’: ‘2020-12-16T07:37:02.951Z’,
‘eo:cloud_cover’: 2.88}},
{‘id’: ‘S2B_MSIL2A_20201211T073219_N0500_R049_T39TVK_20230225T222516.SAFE’,
‘properties’: {‘datetime’: ‘2020-12-11T07:37:20.568Z’,
‘eo:cloud_cover’: 0.26}},
{‘id’: ‘S2B_MSIL2A_20201211T073219_N0500_R049_T39TWK_20230225T222516.SAFE’,
‘properties’: {‘datetime’: ‘2020-12-11T07:37:16.885Z’,
‘eo:cloud_cover’: 1.65}},
{‘id’: ‘S2B_MSIL2A_20201211T073219_N0500_R049_T39TVL_20230225T222516.SAFE’,
‘properties’: {‘datetime’: ‘2020-12-11T07:37:06.001Z’,
‘eo:cloud_cover’: 0.0}},
{‘id’: ‘S2B_MSIL2A_20201211T073219_N0500_R049_T39TWL_20230225T222516.SAFE’,
‘properties’: {‘datetime’: ‘2020-12-11T07:37:02.436Z’,
‘eo:cloud_cover’: 1.01}}]
how could I download these data? apprieciate for any help.