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

S1 preprocessing failed for Spaceeye_Preprocess workflow - "Value for \'Source Band\' is invalid: \'Intensity_VH" #129

Open
DavisZhangUIUC opened this issue Nov 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working known issues Issues acknowledged by the team but still pending workflows Issues encountered when running workflows

Comments

@DavisZhangUIUC
Copy link

DavisZhangUIUC commented Nov 13, 2023

Hi Farmvibes-AI, I get the following error when running spaceeye_preprocess workflow. It fails at the beginning of the s1_preprocessing task.

# Geometry
geom = shpg.Point(30.636398038717186, 8.973720591029792).buffer(.1, cap_style=3)
# Time range
time_range = (datetime(2014, 1, 1), datetime(2016, 1, 1))

s1_run = client.run("data_ingestion/spaceeye/spaceeye_preprocess", "Africa 2014-2016", geometry=geom, time_range=time_range)
Screenshot 2023-11-12 at 6 36 41 PM
'RuntimeError: Failed to run op apply_sentinel1_snap_processing in workflow run id ce3c8468-b513-40c3-a846-68c71d91dabb for input with message id 00-ce3c8468b51340c3a84668c71d91dabb-ebdf1b0b9b324142-01. Error description: <class \'RuntimeError\'>: Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/vibe_agent/worker.py", line 134, in run_op
    return factory.build(spec).run(input, cache_info)
  File "/opt/conda/lib/python3.8/site-packages/vibe_agent/ops.py", line 106, in run
    stac_results = self._call_validate_op(**items)
  File "/opt/conda/lib/python3.8/site-packages/vibe_agent/ops.py", line 72, in _call_validate_op
    results = self.callback(**kwargs)
  File "/app/ops/apply_sentinel1_snap_processing/apply_sentinel1_snap_processing.py", line 176, in preprocess_items
    preprocessed_product = preprocess_item(sentinel1_product, self.tmp_dir.name)
  File "/app/ops/apply_sentinel1_snap_processing/apply_sentinel1_snap_processing.py", line 149, in preprocess_item
    p4 = do_calibration(p3, polarization="DV", pols="VH,VV")
  File "/app/ops/apply_sentinel1_snap_processing/apply_sentinel1_snap_processing.py", line 86, in do_calibration
    output = GPF.createProduct("Calibration", parameters, source)
RuntimeError: org.esa.snap.core.gpf.OperatorException: Operator \'CalibrationOp\': Value for \'Source Band\' is invalid: \'Intensity_VH\'
@rafaspadilha
Copy link
Contributor

Hi, @DavisZhangUIUC. Thank you for raising this issue.

From the error that you shared, it seems like the Intensity_VH band from one of the downloaded Sentinel-1 products is not available or is somewhat incomplete. This seems related to issue #116 and #125, in which ops would fail when accessing missing bands. We are investigating possible solutions for this.

In the meantime, an alternative would be to identify which tile/product has the problematic issue and split your time range to ignore that product.

Please, could you share the input geometry and time range used? I will try to reproduce the problem locally and investigate it.

@rafaspadilha rafaspadilha added the workflows Issues encountered when running workflows label Dec 12, 2023
@rafaspadilha rafaspadilha self-assigned this Dec 12, 2023
@rafaspadilha rafaspadilha added the bug Something isn't working label Feb 9, 2024
@lonnes lonnes added the next-release-fix Issues with a fix planned for the next release label Mar 26, 2024
@rafaspadilha rafaspadilha removed the next-release-fix Issues with a fix planned for the next release label Mar 27, 2024
@rafaspadilha rafaspadilha added the known issues Issues acknowledged by the team but still pending label May 17, 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 known issues Issues acknowledged by the team but still pending workflows Issues encountered when running workflows
Projects
None yet
Development

No branches or pull requests

3 participants