From 553731f73a93f051d0e782b008af94fad5b8b9f8 Mon Sep 17 00:00:00 2001 From: Olaf Danne Date: Thu, 17 Oct 2024 23:08:48 +0200 Subject: [PATCH] fixed product initialization in SeaWifsPostProcessOp --- .../java/org/esa/snap/idepix/seawifs/SeaWifsPostProcessOp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idepix-seawifs/src/main/java/org/esa/snap/idepix/seawifs/SeaWifsPostProcessOp.java b/idepix-seawifs/src/main/java/org/esa/snap/idepix/seawifs/SeaWifsPostProcessOp.java index 58f50a40..59295f5d 100644 --- a/idepix-seawifs/src/main/java/org/esa/snap/idepix/seawifs/SeaWifsPostProcessOp.java +++ b/idepix-seawifs/src/main/java/org/esa/snap/idepix/seawifs/SeaWifsPostProcessOp.java @@ -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);