Skip to content

Commit

Permalink
Fix for py3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ceholden committed Dec 6, 2024
1 parent 9251992 commit 2758ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hls_vi/generate_indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2758ca6

Please sign in to comment.