AssertionError when creating instance of Spot67Scene
With SPOT image from https://ids-dinamis.data-terra.org/web/guest/catalog1
image selected with coordinates N : 45.4924, E : 6.6502, S : 45.3072, W : 6.3426, year : 2020, "Image brute" :
- 2020-07-08_10:09:55.539_SPOT6_SENSOR_MS
- 2020-07-08_10:09:55.538_SPOT6_SENSOR_P
When creating instance of Spot67Scene
from scenes.spot import Spot67Scene
sc = Spot67Scene(dimap_file_xs="/path/to/DIM_SPOT6_MS_..._1.XML",
dimap_file_pan="/path/to/DIM_SPOT6_P_..._1.XML")
Getting assertion error :
Traceback (most recent call last):
File "/usr/lib/python3.8/code.py", line 90, in runcode
exec(code, self.locals)
File "<input>", line 1, in <module>
File "/home/josselingiffard/.local/lib/python3.8/site-packages/scenes/spot.py", line 323, in __init__
epsg_xs, extent_wgs84_xs, self.bbox_wgs84_xs = get_epsg_extent_bbox(dimap_file_xs)
File "/home/josselingiffard/.local/lib/python3.8/site-packages/scenes/raster.py", line 108, in get_epsg_extent_bbox
epsg = get_epsg(gdal_ds)
File "/home/josselingiffard/.local/lib/python3.8/site-packages/scenes/raster.py", line 24, in get_epsg
assert str(epsg).isdigit()
AssertionError