question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: execute graphs with beam-dimap input

See original GitHub issue

Hi all, I’m using pyroSAR to create, group, and then execute a graph via SNAP, the last of which via gpt from pyroSAR.snap.auxil. It seems to me that this operation fails if I want to use .dim BEAM-DIMAP formatted intermediate products from SNAP as inputs to my workflow (It’s raising RuntimeError: data format not supported). The same graph also fails in the SNAP graph tool, but works fine if I execute it via gpt in the command line.

From what I’ve seen in the code, I’m guessing that I can only execute graphs with pyroSAR that contain compressed formats (e.g. SAFE .zips) in their READ nodes?

I also wanted to ask if this might be a feature in which more people might be interested / that would be easy to implement?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
pbrotoisworocommented, Jan 5, 2022

Thanks for the pointers. I’ll give this a shot and I’ll update this thread if I have any other concerns.

1reaction
johntruckenbrodtcommented, Nov 26, 2021

Hi @jonathom. I agree, this would be a great addition. So far Sentinel-1 scenes can only be processed if they are either in the original zip or unpacked in a .SAFE folder. The function pyroSAR.drivers.identify is responsible for this. It tries to read the scene with the available SAR scene drivers (like pyroSAR.drivers.SAFE), which all inherit from the class pyroSAR.drivers.ID.
In order to make all this work it would need a new class for the BEAM-DIMAP format that makes use of this mechanism. For starters not all methods that are suggested by the ID class have to be implemented. Then it would be easy for the gpt function to identify the source product and execute the workflow accordingly.

@konstantinschellenberg you have written some class right? Would you be willing to contribute it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

SNAP Command Line Tutorial
Description: This tool is used to execute SNAP raster data operators in batch-mode. The operators can be used stand-alone or combined as a...
Read more >
BEAM Help - Brockmann Consult
The command-line tool gpt (graph processing tool) is used to execute processing graphs made up of operators nodes developed using the BEAM GPF...
Read more >
Introduction to graphs and tf.function | TensorFlow Core
You create and run a graph in TensorFlow by using tf.function , either as a direct call or as a decorator. tf.function takes...
Read more >
Sentinel Toolbox Help - NASA SeaDAS
The command-line tool gpt (graph processing tool) is used to execute processing graphs made up of operators nodes developed using the SNAP GPF...
Read more >
Visualizing Automated Feature Engineering - Alteryx | Innovation
How Feature Lineage Graphs Can Help to Analyze Generated Features. ... an entity as an input and then output a new variable for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found