Skip to content

Commit 553731f

Browse files
committed
fixed product initialization in SeaWifsPostProcessOp
1 parent 2683d77 commit 553731f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idepix-seawifs/src/main/java/org/esa/snap/idepix/seawifs/SeaWifsPostProcessOp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ private boolean isPixelSurrounded(int x, int y, Tile sourceFlagTile, Rectangle t
246246
}
247247

248248
private void createTargetProduct() throws OperatorException {
249-
targetProduct = createCompatibleProduct(classifProduct, classifProduct.getName(), classifProduct.getProductType());
249+
targetProduct = createCompatibleProduct(reflProduct, classifProduct.getName(), classifProduct.getProductType());
250250
ProductUtils.copyBand(IdepixConstants.CLASSIF_BAND_NAME, classifProduct, targetProduct, false);
251251

252252
ProductUtils.copyFlagBands(reflProduct, targetProduct, true);

0 commit comments

Comments
 (0)