Feature: execute graphs with beam-dimap input
See original GitHub issueHi 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:
- Created 2 years ago
- Comments:12 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the pointers. I’ll give this a shot and I’ll update this thread if I have any other concerns.
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 (likepyroSAR.drivers.SAFE
), which all inherit from the classpyroSAR.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 thegpt
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?