Skip to content

Commit

Permalink
fixed product initialization in SeaWifsPostProcessOp
Browse files Browse the repository at this point in the history
  • Loading branch information
dolaf committed Oct 17, 2024
1 parent 2683d77 commit 553731f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ private boolean isPixelSurrounded(int x, int y, Tile sourceFlagTile, Rectangle t
}

private void createTargetProduct() throws OperatorException {
targetProduct = createCompatibleProduct(classifProduct, classifProduct.getName(), classifProduct.getProductType());
targetProduct = createCompatibleProduct(reflProduct, classifProduct.getName(), classifProduct.getProductType());
ProductUtils.copyBand(IdepixConstants.CLASSIF_BAND_NAME, classifProduct, targetProduct, false);

ProductUtils.copyFlagBands(reflProduct, targetProduct, true);
Expand Down

0 comments on commit 553731f

Please sign in to comment.