Closed cmosig closed 1 month ago
line of code where it crashes: https://github.com/cmosig/sentle/blob/10432095d3f06f81ae1f83c910f78e70010d9176/sentle/sentle.py#L840
error happens with the following mini-cubes (CRS = EPSG:27705):
Minicube: 114, bound_left = 8698880, bound_bottom = 2652160, bound_right = 8704000, bound_top = 2657280 Minicube: 115, bound_left = 8698880, bound_bottom = 2657280, bound_right = 8704000, bound_top = 2662400 Minicube: 125, bound_left = 8709120, bound_bottom = 2626560, bound_right = 8714240, bound_top = 2631680 Minicube: 126, bound_left = 8709120, bound_bottom = 2641920, bound_right = 8714240, bound_top = 2647040 Minicube: 242, bound_left = 8760320, bound_bottom = 2621440, bound_right = 8765440, bound_top = 2626560 Minicube: 479, bound_left = 9011200, bound_bottom = 2723840, bound_right = 9016320, bound_top = 2728960 Minicube: 856, bound_left = 9594880, bound_bottom = 3092480, bound_right = 9600000, bound_top = 3097600
Testing minicube 114.
First observation, here we have one of these locations on earth where the stac interface returns an invalid href. E.g: https://sentinel2l2a01.blob.core.windows.net/sentinel2-l2/15/S/VR/2022/06/22/S2B_MSIL2A_20220622T164849_N0400_R026_T15SVR_20220623T061111.SAFE/GRANULE/L2A_T15SVR_A027651_20220622T170254/IMG_DATA/R20m/T15SVR_20220622T164849_B11_20m.tif?st=2024-10-19T16%3A54%3A31Z&se=2024-10-21T16%3A54%3A31Z&sp=rl&sv=2024-05-04&sr=c&skoid=9c8ff44a-6a2c-4dfb-b298-1c9212f64d9a&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2024-10-20T02%3A45%3A02Z&ske=2024-10-27T02%3A45%3A02Z&sks=b&skv=2024-05-04&sig=wAafDdXCEHOfGCyn%2BrKz07x%2B7a7MrWZEK%2B5tXF7r53s%3D
Resolved with above commit, but somehow sentinel 1 looks for some cases weird. Not even sure if related:
seems to be fixed with: a53e776cb207420fa5a122c11f699d3095017a4e
code to reproduce:
cubes:
error message