Determining the Amount of Water Surface [Snappy]

I am trying to write a python script to figure out the amount of water body from a Sentinel 1 data in which radiometric calibration, lee speckle filtering ,and terrain correction were applied. Please help me with the process.
@marpet @ABraun @Ciaran_Evans @kedziorm @