From 3baccd98000cade8088257deda783570f45e7055 Mon Sep 17 00:00:00 2001 From: Jan Van den bosch Date: Tue, 8 Oct 2024 08:56:32 +0200 Subject: [PATCH] log recovery as warning instead of error (was distracting) --- .../scala/org/openeo/geotrelliscommon/DatacubeSupport.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geotrellis-common/src/main/scala/org/openeo/geotrelliscommon/DatacubeSupport.scala b/geotrellis-common/src/main/scala/org/openeo/geotrelliscommon/DatacubeSupport.scala index 408252ca..e1be3bd9 100644 --- a/geotrellis-common/src/main/scala/org/openeo/geotrelliscommon/DatacubeSupport.scala +++ b/geotrellis-common/src/main/scala/org/openeo/geotrelliscommon/DatacubeSupport.scala @@ -52,7 +52,7 @@ object DatacubeSupport { reprojected = globalBounds.get.extent.buffer(0.1).reprojectAsPolygon(globalBounds.get.crs, boundingBox.crs, 0.01).getEnvelopeInternal } if (!reprojected.covers(boundingBox.extent)) { - logger.error(f"Trying to construct a datacube with a bounds ${boundingBox.extent} that is not entirely inside the global bounds: ${reprojected}. ") + logger.warn(f"Trying to construct a datacube with a bounds ${boundingBox.extent} that is not entirely inside the global bounds: ${reprojected}. ") reprojected = reprojected.expandToInclude(boundingBox.extent) } if (p.getName == "utm") {