@Override
public void initialize() throws OperatorException {
validateSourceProduct(sourceProduct);
targetProduct = createCompatibleProduct(sourceProduct, String.format("%s_TOA", sourceProduct.getName()),
"MER_AGC_TOA_REFL");
<BUG>bandMap = new HashMap<Band, Band>(EnvisatConstants.MERIS_L1B_NUM_SPECTRAL_BANDS);
for (int i = 0; i < EnvisatConstants.MERIS_L1B_NUM_SPECTRAL_BANDS; i++) {</BUG>
final Band toaReflBand = targetProduct.addBand(String.format(TOA_REFL_PATTERN, i + 1),
ProductData.TYPE_FLOAT32);
final Band radianceBand = sourceProduct.getBandAt(i);

@Override
public void initialize() throws OperatorException {
validateSourceProduct(sourceProduct);
targetProduct = createCompatibleProduct(sourceProduct, String.format("%s_TOA", sourceProduct.getName()),
"MER_AGC_TOA_REFL");
bandMap = new HashMap<>(EnvisatConstants.MERIS_L1B_NUM_SPECTRAL_BANDS);
for (int i = 0; i < EnvisatConstants.MERIS_L1B_NUM_SPECTRAL_BANDS; i++) {
final Band toaReflBand = targetProduct.addBand(String.format(TOA_REFL_PATTERN, i + 1),
ProductData.TYPE_FLOAT32);
final Band radianceBand = sourceProduct.getBandAt(i);
