uxarray.remap.nearest_neighbor._nearest_neighbor_uxda#
- uxarray.remap.nearest_neighbor._nearest_neighbor_uxda(source_uxda, destination_obj, remap_to='nodes', coord_type='spherical')#
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”, “edge centers”, or “face centers”
coord_type (str, default="spherical") – Indicates whether to remap using on Spherical or Cartesian coordinates for nearest neighbor computations when remapping.