Skip to content

Conversation

@adrian-knauer
Copy link

@adrian-knauer adrian-knauer commented Jul 2, 2025

At the beginning of the Top Sar Split Operation, there are some checks to validate the structure of the product.
Once check is looking for all subswaths (checkIfMultiSwathTOPSARProduct). If there is only one swath and associated metadata in the product folder it will fail.

PROBLEM:
I am running a pipeline where processing time is very important, so I am only downloading and processing single swaths. I don't want to have the extra overhead for the other swaths if I don't even need them.
Currently the Top Sar Split Operation will fail because it expects a folder with all swaths.

SOLUTION:
Just do the multi swath check if we are indeed processing multiple swaths. I think this is also more logic, because why should we check for multiple swaths if we only want to process one of them.

This PR adds an if clause to only run the check when its actually needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants