hypso.classification
Subpackages
hypso.classification.WaterDetection
hypso.classification.WaterDetection.waterdetect
hypso.classification.WaterDetection.waterdetect.Common
hypso.classification.WaterDetection.waterdetect.External_mask
hypso.classification.WaterDetection.waterdetect.Glint
hypso.classification.WaterDetection.waterdetect.Image
hypso.classification.WaterDetection.waterdetect.InputOutput
hypso.classification.WaterDetection.waterdetect.WaterDetect
hypso.classification.WaterDetection.waterdetect.products
hypso.classification.WaterDetection.runWaterDetect
Submodules
Package Contents
Functions
|
Compute the Water Mask using the Normalized Difference Water Index (NDWI). This method was originally developed by |
|
Simple Threshold WaterMask |
- hypso.classification.ndwi_watermask(sat_obj, product_to_use='L1C')
Compute the Water Mask using the Normalized Difference Water Index (NDWI). This method was originally developed by Mauricio Cordeiro (https://github.com/cordmaur/WaterDetect)
- Parameters:
sat_obj – Hypso satellite object
product_to_use (Literal[L1C, L1B, L2-ACOLITE, L2-6SV1]) – String of product to use for calculating the water mask. Default and recommended: “L1C”
- Returns:
No Return
- Return type:
None
- hypso.classification.threshold_watermask(sat_obj, threshold_val=2.9)
Simple Threshold WaterMask
- Parameters:
sat_obj – Hypso satellite object
threshold_val (float) – Threshold value for pixel contrast. Default is 2.9
- Returns:
- Return type:
None