onstove.DataProcessor.align_layers#
- DataProcessor.align_layers(datasets: dict[str, list[str]] = 'all', save_layers=False)[source]#
Ensures that the coordinate system and resolution of the raster is the same as the base layer
- Parameters:
- datasets: dictionary of ``category``-``list of layer names`` pairs, default ‘all’
Specifies which dataset(s) to align.
datasets={'category_1': ['layer_1', 'layer_2'], 'category_2': [...]}
- save_layers: boolean, default False
Determines whether to save the reprojected layer to disc or not.
See also