Datasets:

License:
ghjuliasialelli commited on
Commit
8ac67ec
·
verified ·
1 Parent(s): 03bd139

Update AGBD.py

Browse files

indexing was off

Files changed (1) hide show
  1. AGBD.py +1 -1
AGBD.py CHANGED
@@ -176,7 +176,7 @@ def normalize_bands(bands_data, norm_values, order, norm_strat, nodata_value = N
176
 
177
  for i, band in enumerate(order) :
178
  band_norm = norm_values[band]
179
- bands_data[:, :, i] = normalize_data(bands_data[:, :, i], band_norm, norm_strat, nodata_value)
180
 
181
  return bands_data
182
 
 
176
 
177
  for i, band in enumerate(order) :
178
  band_norm = norm_values[band]
179
+ bands_data[i, :, :] = normalize_data(bands_data[i, :, :], band_norm, norm_strat, nodata_value)
180
 
181
  return bands_data
182