hydromt_fiat.components.OutputGeomsComponent.aggregate_square#
- OutputGeomsComponent.aggregate_square(output_name: str, res: float | int = 1, method: str = 'mean', output_dir: Path | str | None = None) None[source]#
Aggregate FIAT vector output data to a square cell grid.
- Parameters:
output_name (str) – The name of the dataset in the data of the component.
res (float | int) – The resolution of the resulting vector grid in km. By default 1.
method (str, optional) – The method of aggregation, by default “mean”.
output_dir (Path | str | None, optional) – The output directory. If None, the data is written to the ‘aggregated’ directory next to the configurations file. By default None.