fmeobjects.FMERasterTools.checkpoint

FMERasterTools.checkpoint(raster)

Sets a checkpoint in the raster processing which forces previous processing to occur immediately and saves the current state to disk once complete.

Checkpointing a raster may improve performance when working with large rasters, where all the necessary data cannot be cached in memory.

The temporary data file will be deleted when the raster is destroyed.

Parameters:

raster (FMERaster) – Raster object.

Return type:

FMERaster

Returns:

The raster after setting the checkpoint.

Raises:

FMEException – An exception is raised if an error occurred.