Interp
resample_rioxarray(ds, resolution=1000, method='bilinear')
Resamples a raster dataset using rasterio-xarray.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ds |
Dataset
|
The input dataset to be resampled. |
required |
resolution |
int
|
The desired resolution of the resampled dataset. Default is 1_000. |
1000
|
method |
str
|
The resampling method to be used. Default is "bilinear". |
'bilinear'
|
Returns:
Type | Description |
---|---|
Dataset
|
xr.Dataset: The resampled dataset. |