Skip to content

Commit 8cae004

Browse files
add S3Syn to input formats supported by Sentinel3CalvalusReader
1 parent 104e4e4 commit 8cae004

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

calvalus-processing/src/main/java/com/bc/calvalus/processing/beam/Sentinel3CalvalusReaderPlugin.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public ProductReader createReaderInstance() {
8787

8888
@Override
8989
public String[] getFormatNames() {
90-
return new String[]{FORMAT_NAME_S3, FORMAT_NAME_SLSTRL1B_500m, FORMAT_NAME_SLSTRL1B_1km};
90+
return new String[]{FORMAT_NAME_S3, FORMAT_NAME_SLSTRL1B_500m, FORMAT_NAME_SLSTRL1B_1km, "S3Syn"};
9191
}
9292

9393
@Override
@@ -149,6 +149,8 @@ protected Product readProductNodesImpl() throws IOException {
149149
return ProductIO.readProduct(productManifest, "Sen3_SLSTRL1B_500m");
150150
} else if (inputFormat != null && inputFormat.equals(FORMAT_NAME_SLSTRL1B_1km)) {
151151
return ProductIO.readProduct(productManifest, "Sen3_SLSTRL1B_1km");
152+
} else if (inputFormat != null) {
153+
return ProductIO.readProduct(productManifest, inputFormat);
152154
} else {
153155
return ProductIO.readProduct(productManifest);
154156
}

0 commit comments

Comments
 (0)