Accessing the fractional land-water mask for automation

Hi,
The fractional land_water mask seems essential to process S1 data. However this tool is, to my knowledge, not accessible through GPT graphs or snappy.
Is there a way to include it in the chain of processing?
Thanks

It is available.
just type

gpt LandWaterMask -h

and you get the gpt help for it.

This way you can use it in graph, and you can call it from snappy knowing the operator name.


EOMasters_icon_60 Marco from EOMasters - Mastering Earth Observation - Kofi_cup_40x30

Hi,
The landwater mask and the fractional land-water mask are two different things. The second includes inland lakes which are essential for interferometry as they need to be removed.
Thanks

Actually not.
Here you can see the code for action which open the dialog.
As operator alias the LandWaterMask is used.

snap-desktop/snap-watermask-ui/src/main/java/org/esa/snap/processor/watermask/ui/WatermaskAction.java at 927193574c602b8a72bf424f9d407d6371fb04f3 · senbox-org/snap-desktop (github.com)

You can also open the about dialog of the fractional land-water mask. There the name of the operator is shown.

1 Like

Thanks,
I just have different behaviours if I use the LandWaterMask in the GUI vs the Fractional so I assumed these were different. I will give it a go.
Thanks for the clarifications.

1 Like