salem.DatasetAccessor.transform¶
-
DatasetAccessor.
transform
(other, grid=None, interp='nearest', ks=3)¶ Reprojects an other Dataset or DataArray onto this grid.
Parameters: other: Dataset, DataArray or ndarray
the data to project onto self
grid: salem.Grid
in case the input dataset does not carry georef info
interp : str
‘nearest’ (default), ‘linear’, or ‘spline’
ks : int
Degree of the bivariate spline. Default is 3.
Returns: a dataset or a dataarray