Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting pixel size error #152

Open
jteulade opened this issue Jun 3, 2024 · 0 comments
Open

setting pixel size error #152

jteulade opened this issue Jun 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jteulade
Copy link
Contributor

jteulade commented Jun 3, 2024

For this product : s3://sertit-rms2/archives/rms/2010/SAFER_GERS048_052_054_Pakistan_inondations_2010/images_crise/Radarsat-2/sud_pakistan/brutes/RS2_OK14453_PK157214_DK149639_SCWA_20100820_012257_HH_SGF.zip

I get this error:

Traceback (most recent call last):
  File "E:\JTeulade\repositories\stac\scripts\test.py", line 24, in <module>
    func()
  File "E:\JTeulade\repositories\stac\libs\sertit-utils\sertit\s3.py", line 99, in s3_env_wrapper
    return function(*_args, **_kwargs)
  File "E:\JTeulade\repositories\stac\scripts\test.py", line 16, in func
    prod: Product = Reader().open(tata, remove_tmp=True, method=CheckMethod.MTD)
  File "e:\jteulade\repositories\eoreader\eoreader\reader.py", line 528, in open
    prod = self._open_path(
  File "e:\jteulade\repositories\eoreader\eoreader\reader.py", line 690, in _open_path
    prod = create_product(
  File "e:\jteulade\repositories\eoreader\eoreader\reader.py", line 957, in create_product
    prod = class_(
  File "e:\jteulade\repositories\eoreader\eoreader\products\sar\sar_product.py", line 200, in __init__
    super().__init__(product_path, archive_path, output_path, remove_tmp, **kwargs)
  File "e:\jteulade\repositories\eoreader\eoreader\products\product.py", line 274, in __init__
    self._set_pixel_size()
  File "e:\jteulade\repositories\eoreader\eoreader\products\sar\rs2_product.py", line 355, in _set_pixel_size
    raise InvalidProductError(
eoreader.exceptions.InvalidProductError: There has been an error when setting pixel size or the resolution to your data! Please write an issue on Github.

Exception asks to write an issue. Done ! :)

@jteulade jteulade added the bug Something isn't working label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant