Skip to content

Commit

Permalink
Add comment explaining that normalize removes some bands
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieltseng committed Oct 13, 2023
1 parent 43341dd commit 46e314d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions presto/dataops/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 46e314d

Please sign in to comment.