Skip to content

Commit

Permalink
Fix Sentinel-3 OLCI band management #111
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Oct 31, 2023
1 parent f815254 commit c36e315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eoreader/products/optical/s3_olci_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ def _compute_e0(self, band: BandNames = None) -> np.ndarray:
e0_det = self._read_nc(self._misc_file, self._solar_flux_name).data

# Get band slice and open corresponding e0 for the detectors
band_slice = int(self.bands[band].id[-2:]) - 1
band_slice = int(self.bands[band].name[-2:]) - 1
e0_det = np.squeeze(e0_det[0, band_slice, :])

# Create e0
Expand Down

0 comments on commit c36e315

Please sign in to comment.