Skip to content

Commit 0226717

Browse files
ahuarte47rfecher
authored andcommitted
Fix of data missing for testing Sentinel2 extension (#1530)
1 parent 900399f commit 0226717

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/cli/sentinel2/src/main/java/org/locationtech/geowave/format/sentinel2/amazon/AmazonImageryProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public boolean isAvailable() {
143143
LOGGER.error("Unable to validate the JP2ECW plugin for GDAL", e);
144144
}
145145
System.err.println(
146-
"The native JP2ECW plugin for GDAL seems not to be set in your GDAL_PROVIDER_PATH environment variable. AWS Sentinel2 provider is not available.");
146+
"The native JP2ECW plugin for GDAL seems not to be set in your GDAL_DRIVER_PATH environment variable. AWS Sentinel2 provider is not available.");
147147
JP2ECW_PLUGIN_AVAILABLE_FLAG = 2;
148148
return false;
149149
}

extensions/cli/sentinel2/src/test/java/org/locationtech/geowave/format/sentinel2/Tests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class Tests {
3434

3535
// Raster to validate JP2 support in GDAL.
3636
private static final String JP2_TEST_FILE =
37-
"../../../test/data/raster/sentinel2_band_example.jp2";
37+
"../../../test/src/test/resources/sentinel/sentinel2_band_example.jp2";
3838
// Flag to indicate whether the native JP2ECW plugin is properly setup.
3939
private static int JP2ECW_PLUGIN_AVAILABLE_FLAG = 0;
4040

4.56 KB
Binary file not shown.

0 commit comments

Comments
 (0)