hydromt_fiat.components.ExposureGridComponent.reproject#

ExposureGridComponent.reproject(crs: CRS | int | str, inplace: bool = False) Dataset | None#

Reproject the gridded data.

Parameters:
  • crs (CRS | int | str) – The coordinate system to reproject to.

  • inplace (bool, optional) – Whether to do the reprojection in place or return a new xr.Dataset, by default False.

Returns:

Return a dataset if the inplace is False.

Return type:

xr.Dataset | None