Skip to content

Commit

Permalink
force a shuffle after scl mask, allowing caching
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Jan 8, 2025
1 parent 37dcebd commit 9acdd8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ class OpenEOProcesses extends Serializable {
MultibandTile(filter.createMask(tile.tile).crop(originalBounds))
})
val updatedMetadata = datacube.metadata.copy(cellType = BitCellType)
ContextRDD(mask, updatedMetadata)
ContextRDD(new ShuffledRDD[SpaceTimeKey, MultibandTile,MultibandTile](mask,mask.partitioner.get), updatedMetadata)
}

def mergeTiles(tiles: MultibandTileLayerRDD[SpaceTimeKey]): MultibandTileLayerRDD[SpaceTimeKey] = {
Expand Down

0 comments on commit 9acdd8a

Please sign in to comment.