From 2758ca60a42f5a1d35f7686765bb9581c4b7e9ac Mon Sep 17 00:00:00 2001 From: Chris Holden Date: Fri, 6 Dec 2024 16:04:26 -0500 Subject: [PATCH] Fix for py3.6 --- hls_vi/generate_indices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hls_vi/generate_indices.py b/hls_vi/generate_indices.py index d6590e5..cc35fd7 100644 --- a/hls_vi/generate_indices.py +++ b/hls_vi/generate_indices.py @@ -199,7 +199,7 @@ def apply_fmask(data: np.ndarray, fmask: np.ndarray) -> np.ma.masked_array: return np.ma.masked_array(data, fmask & cloud_like != 0) -def apply_union_of_masks(bands: list[np.ma.masked_array]) -> list[np.ma.masked_array]: +def apply_union_of_masks(bands: List[np.ma.masked_array]) -> List[np.ma.masked_array]: """Mask all bands according to valid data across all bands This is intended to reduce noise by masking spectral indices if