odc.geo.xr.rio_reproject
- odc.geo.xr.rio_reproject(src, dst, s_gbox, d_gbox, resampling, src_nodata='auto', dst_nodata='auto', ydim=None, **kwargs)[source]
Perform reproject from ndarray->ndarray using rasterio as backend library.
- Parameters:
src (
ndarray
) – image as ndarraydst (
ndarray
) – image as ndarrayd_gbox (
GeoBox
) – GeoBox of destination imageresampling (
Union
[str
,int
,Resampling
]) – str|rasterio.warp.Resampling resampling strategysrc_nodata (
Union
[float
,int
,str
,None
,Literal
['auto'
]]) – Value representing “no data” in the source imagedst_nodata (
Union
[float
,int
,str
,None
,Literal
['auto'
]]) – Value to represent “no data” in the destination imageydim (
Optional
[int
]) – Which dimension is y-axis, next one must be xkwargs – any other args to pass to
rasterio.warp.reproject
- Return type:
- Returns:
dst