Oil spill detection - using SNAPpy


#1

Is it possible to run the oil spill detection algorithms available in SNAP using SNAPpy? If so, where can I find an example or list of functions that I would need to recreate the tool in python?


#2

Yes, this is possible.
In general, it is called as other operators.
For some examples please see here:


The name of the operator is ‘Oil-Spill-Detection’
So, you would need to call something like

result = snappy.GPF.createProduct('Oil-Spill-Detection', parameters, source)

But this is not the only step you need to do. Other things to consider are explained here: