uxarray.remap.nearest_neighbor._nearest_neighbor_uxda#
- uxarray.remap.nearest_neighbor._nearest_neighbor_uxda(source_uxda, destination_obj, remap_to='nodes', coord_type='lonlat')#
Nearest Neighbor Remapping implementation for
UxDataArray
.- Parameters:
source_uxda (UxDataArray) – Source UxDataArray for remapping
destination_obj (Grid, UxDataArray, UxDataset) – Destination for remapping
remap_to (str, default="nodes") – Location of where to map data, either “nodes” or “face centers”
coord_type (str, default="lonlat") – Indicates whether to remap using on latlon or Cartesian coordinates for nearest neighbor computations when remapping.