I was wondering if anyone has an example of how to write a python snappy script with multiple sequential operators? There’s also a strong chance I’m misunderstanding exactly how to work with snappy. I’ve tried examining a few examples such as NDVI_OP (which I don’t understand how to use) and snappy_flh (which I think I understand but am not sure what multispectral sensor input is required).
I’ve also looked at @abgbaumann’s snappy_glcm , and it seems like I could repeat/modify that (func_name & func_code) to cover each operator I need, then have another script that calls each operator in a sequence on the file. Is that the best approach?
What I’d like to make in the end is a script that will:
INGEST sentinel-1 scene
CALIBRATE sentinel-1 scene
TERRAIN FLATTEN calibrated sentinel-1 scene
SPECKLE FILTER terrain-cal sentinel 1 scene
GEORECTIFY speckle-terrain-cal sentinel 1 scene
OUTPUT geo-speckle-terrain-cal sentinel 1 scene