dear all,
Where is TOPSAR-Split operator?
The GPF interface does not provide a method with just the operator name as parameter.
Please specify a map with the processing parameters and the source product as second and third parameter.
Please have a look at the snap examples and also at the JavaDoc.
I got the following error:
RuntimeError: org.esa.snap.core.gpf.OperatorException: Unknown operator ‘TOPSAR-Split’. Note that operator aliases are case sensitive.
Could you please figure out the reason, mainly what’s the operator name for ‘TOPSAR-Split’?
Actually it should work.
I assume that you have installed S1TBX. Have you installed it during SNAP installation or later via the module manager?
What happens if you use gpt -h
on the commandline? Do you see the TOPSAR-Split
operator?
I found what is missing.
Add to the beginning of your code the following to lines
registry = GPF.getDefaultInstance().getOperatorSpiRegistry()
registry.loadOperatorSpis()
It seems that the operators are not loaded by default.