nearest_neighbor
Classes:
| Name | Description |
|---|---|
NearestNeighbor |
Maps data onto the specified coordinate grid using nearest-neighbor. |
Classes#
NearestNeighbor #
Bases: DataConverter
Maps data onto the specified coordinate grid using nearest-neighbor.
Methods:
| Name | Description |
|---|---|
convert |
|
Attributes:
| Name | Type | Description |
|---|---|---|
coord |
str
|
The coordinate axis this converter should be applied on. Defaults to 'time'. |
Attributes#
coord
class-attribute
instance-attribute
#
The coordinate axis this converter should be applied on. Defaults to 'time'.
Functions#
convert #
convert(
data: DataArray,
variable_name: str,
dataset_config: DatasetConfig,
retrieved_dataset: RetrievedDataset,
**kwargs: Any
) -> Optional[xr.DataArray]