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