Skip to content

zip+file found in asset href #258

@jteulade

Description

@jteulade

With this product:
s3://sertit-eoreader-ci/sar/41365-EOL1ASARSAO1A387069 when i launch product.stac.create_item()
I get this error:

Traceback (most recent call last):
  File "/home/jovyan/jteulade/stac/scripts/build_catalog.py", line 115, in <module>
    main(clean_products_file)
  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/build_catalog.py", line 64, in main
    path_products = create_stac_items_from_clean_products(clean_product_paths, catalog)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/jteulade/stac/src/stac.py", line 377, in create_stac_items_from_clean_products
    copy_and_create_item(
  File "/home/jovyan/jteulade/stac/src/stac.py", line 210, in copy_and_create_item
    raise InvalidProductError(
eoreader.exceptions.InvalidProductError: zip+file found in asset href. This problem was identified for SAOCOM products.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions