Hi all! For a plugin that I am writing in Python I am aiming at three steps that I wish to perform. Firstly, I wish to Collocate two input images, then I wish to do some arithmetic in Numpy and finally I wish to apply a correction, say Range Dopppler Terrain Correction.
I know that the -op.py script in which this should take place contains a class which holds a def initialize, a def computeTile. The first step, the collocation, I can do in the initialize function. The second step, the numpy operation, (I believe) I have to do in the computeTile function. The third step, the terrain correction, then also needs to take place in the computeTile function.
So, I know that the collocation can be done like this:
self.src_collocated = snappy.GPF.createProduct(‘Collocate’, params, src)
where params is a hashmap with the function options. How do I do this for the terrain correction, but now in the computeTile function where I am working with tiles and not src variables?