-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
0.23.0For version 0.23.0For version 0.23.0
Description
With this product:
s3://sertit-projects-archives/projects/2023/STAC/STORAGE/WV04/000000010004_01_P001_MUL
I get this error:
Traceback (most recent call last):
File "/home/jovyan/jteulade/stac/scripts/test_single_product.py", line 167, in <module>
main()
File "/opt/conda/lib/python3.11/site-packages/sertit/s3.py", line 169, in s3_env_wrapper
return function(*_args, **_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/jteulade/stac/scripts/test_single_product.py", line 148, in main
success = test_product_loading(AnyPath(product_path))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/jteulade/stac/scripts/test_single_product.py", line 117, in test_product_loading
stac_item1 = prod.stac # Set breakpoint here in VS Code
^^^^^^^^^
File "/home/jovyan/jteulade/eoreader/eoreader/products/product.py", line 1760, in stac
self._stac = StacItem(self)
^^^^^^^^^^^^^^
File "/home/jovyan/jteulade/eoreader/eoreader/stac/stac_item.py", line 69, in __init__
self.proj = ProjExt(prod, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/jteulade/eoreader/eoreader/stac/stac_extensions.py", line 211, in __init__
self.epsg = self.crs().to_epsg()
^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/methodtools.py", line 72, in __call__
return self.__call__(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/jteulade/eoreader/eoreader/__init__.py", line 34, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/jteulade/eoreader/eoreader/stac/stac_extensions.py", line 233, in crs
return self._prod.crs()
^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/methodtools.py", line 72, in __call__
return self.__call__(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/jteulade/eoreader/eoreader/__init__.py", line 34, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/jteulade/eoreader/eoreader/products/optical/maxar_product.py", line 1138, in crs
if raw_crs.is_geographic:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'is_geographic'
Metadata
Metadata
Assignees
Labels
0.23.0For version 0.23.0For version 0.23.0