/Extraction-Water-Areas-from-Sentinel-2A

A Python library for extraction water areas as shapefile extension from Sentinel 2A Satellite Images.

Primary LanguageJupyter NotebookMIT LicenseMIT

Extraction Water Areas from Sentinel-2A Images

A Python library for extraction water areas as shapefile extension.


Quick Usage

Importing library

import NDWI

Download Sentinel-2A Data from Copernicus Scihub.

NDWI.Download_Sentinel('username',
                       'password', 
                       'geo.json path')

Unzip and prepare bands which proper to mNDWI process.

#Select only folder path, file will be selected automatically
NDWI.unzip('Sentinel 2 Data folder path') 

mNDWI process

# Select only folder path, bands will be detected automatically.
NDWI.NDWI('folder path which included proper bands', 
          'output name <.tif>')

Vectorize

NDWI.Vectorize('NDWI processed Image path <.tif>',
               'Output vector name <.shp>')

example.ipynb file has real examples. Do not forget to check out if you have a question.



Special thanks to Dr. Kaan Kalkan for him mentorship.