In water index calculation, gets the best threshold and full area of water according to known parts or approximation of water. Landsat 5/7/8/9 is supported.
git clone https://github.com/Galasnow/Threshold_Extract.git
cd Threshold_Extract
conda create -n <name> python=3.10
conda activate <name>
conda install -c conda-forge gdal
pip install -r requirements.txt
python src/threshold_extract.py config/config.yml
This is an experimental project and it can't guarantee any functionality now.