src.merging package

Submodules

src.merging.merging module

class src.merging.merging.Merging(tile: src.tile.Tile, input_rasters: list)

Bases: object

merge_rasters()

Function that executes the merging of rasters using rasterio’s merge function. Creates a single large raster based on all the small input rasters. Uses the geometry of the tile to determine where the bounds are to ensure raster is of correct size. Saves it to the location specified in the config.

Returns

None

save(stage)

Saves the raster to location specified by _get_save_location function depending on what stage this raster is

Parameters

stage

Returns

Module contents