hydromt.DataArray.raster.reproject_like#
- DataArray.raster.reproject_like(other, method='nearest')#
Reproject a object to match the grid of
other.- Parameters:
other (
xarray.DataArrayorDataset) – DataArray of the target resolution and projection.method (
str, optional) – Seereproject()for existing methods, by default ‘nearest’.
- Returns:
da – Reprojected object.
- Return type: