Skip to content

Commit

Permalink
Clean up logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileSonneveld committed Oct 16, 2024
1 parent c9019ab commit 945d360
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,6 @@ package object geotiff {
croppedExtent: Option[Extent], cropDimensions: Option[java.util.ArrayList[Int]],
compression: Compression, formatOptions: Option[GTiffOptions] = None
) = {
this.logger.info("stitchAndWriteToTiff tiles.size: " + tiles.size) // Remove before release
val raster: Raster[MultibandTile] = ContextSeq(tiles, layout).stitch()

val re = raster.rasterExtent
Expand Down Expand Up @@ -743,9 +742,7 @@ package object geotiff {
) {
geotiff = geotiff.withOverviews(NearestNeighbor, List(4, 8, 16))
}
val res = writeGeoTiff(geotiff, filePath)
this.logger.info("stitchAndWriteToTiff writeGeoTiff done. filePath: " + filePath) // Remove before release
res
writeGeoTiff(geotiff, filePath)
}

def saveSamples(rdd: MultibandTileLayerRDD[SpaceTimeKey],
Expand Down

0 comments on commit 945d360

Please sign in to comment.