reproject_match
reproject_match#
- reproject_match(dst_meta: dict, src_arr: typing.Union[numpy.ma.core.MaskedArray, numpy.ndarray], src_meta: dict, resampling: rasterio.enums.Resampling = Resampling.nearest, **kwargs) -> (typing.Union[numpy.ma.core.MaskedArray, numpy.ndarray], <class 'dict'>)[source]#
Reproject a raster to match the resolution, projection, and region of another raster.
Matching rioxarray reproject_match.
- Parameters
- Returns
Reprojected array and its metadata
- Return type
Union[np.ma.masked_array, np.ndarray], dict