Hi,
I have a simple use case where I do a geometry based search, and I want to download all the resulting Level 2 products in the SAFE format:
geometry = Geometry('POLYGON((9.26923 0.57138,9.28358 0.56777,9.28358 0.54613,9.24769 0.54613,9.25128 0.56777,9.26564 0.56777,9.26923 0.57138))', CRS.WGS84)
search_bbox = gabon_geometry.bbox
search_time_interval = ("2020-02-20T00:00:00", "2020-04-20T23:59:59")
config = SHConfig()
config.instance_id = 'my_sentinel_hub_instance_id'
wfs_iterator = WebFeatureService(search_bbox, search_time_interval, data_source=DataSource.SENTINEL2_L2A, maxcc=0.5, config=config)
for tile_info in wfs_iterator:
print(tile_info['properties'])
This gets me one entry:{'id': 'S2B_OPER_MSI_L2A_TL_MPS__20200322T121116_A015892_T32NNF_N02.14', 'date': '2020-03-22', 'time': '09:50:38', 'path': 's3://sentinel-s2-l2a/tiles/32/N/NF/2020/3/22/0', 'crs': 'EPSG:32632', 'mbr': '499980,-9780 609780,100020', 'cloudCoverPercentage': 26.59}
I then take that tile id, and try to get the download part in place:
tile_id = ‘S2B_OPER_MSI_L2A_TL_MPS__20200322T121116_A015892_T32NNF_N02.14’
tile_name, time, aws_index = AwsTile.tile_id_to_tile(tile_id)
Last line fails with TileMissingException
Is there a workaround to this - my use case is simple - search Level 2 products, and then download them in the SAFE format.