onstove.MCA.align_layers#

MCA.align_layers(datasets: dict[str, list[str]] = 'all', save_layers=False)#

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.

Example#
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.