From 46e314d44806d114e828a11fdff73cddc233f1ee Mon Sep 17 00:00:00 2001 From: Gabriel Tseng Date: Fri, 13 Oct 2023 11:21:40 -0400 Subject: [PATCH] Add comment explaining that normalize removes some bands --- presto/dataops/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/presto/dataops/utils.py b/presto/dataops/utils.py index bf4013d..3c3aa6e 100644 --- a/presto/dataops/utils.py +++ b/presto/dataops/utils.py @@ -65,6 +65,7 @@ def construct_single_presto_input( mask = mask[:, keep_indices] if normalize: + # normalize includes x = x[:, keep_indices] x = S1_S2_ERA5_SRTM.normalize(x) if s2_bands is not None: if ("B8" in s2_bands) and ("B4" in s2_bands):