Skip to content

acquisition_start_utc not found in metadata #254

@jteulade

Description

@jteulade

With this product:
/mnt/x/PROJETS/Dragon5/ICEYE/SM_1898697_85094
I get this error:

Traceback (most recent call last):
  File "/app/scripts/test_single_product.py", line 162, in <module>
    main()
  File "/opt/conda/lib/python3.11/site-packages/sertit/s3.py", line 125, in s3_env_wrapper
    return function(*_args, **_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/scripts/test_single_product.py", line 143, in main
    success = test_product_loading(AnyPath(product_path))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/scripts/test_single_product.py", line 83, in test_product_loading
    prod = reader.open(product_path, remove_tmp=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/eoreader/reader.py", line 609, in open
    prod = self._open_path(
           ^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/eoreader/reader.py", line 777, in _open_path
    prod = create_product(
           ^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/eoreader/reader.py", line 1041, in create_product
    prod = class_(
           ^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/eoreader/products/sar/iceye_product.py", line 94, in __init__
    super().__init__(product_path, archive_path, output_path, remove_tmp, **kwargs)
  File "/opt/conda/lib/python3.11/site-packages/eoreader/products/sar/sar_product.py", line 201, in __init__
    super().__init__(product_path, archive_path, output_path, remove_tmp, **kwargs)
  File "/opt/conda/lib/python3.11/site-packages/eoreader/products/product.py", line 299, in __init__
    self.datetime = self.get_datetime(as_datetime=True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/eoreader/products/sar/iceye_product.py", line 257, in get_datetime
    raise InvalidProductError(
eoreader.exceptions.InvalidProductError: acquisition_start_utc not found in metadata!

Metadata

Metadata

Assignees

Labels

0.23.0For version 0.23.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions