uxarray.UxDataArray.nearest_neighbor_remap

uxarray.UxDataArray.nearest_neighbor_remap#

UxDataArray.nearest_neighbor_remap(destination_obj, remap_to='nodes', coord_type='spherical')#

Nearest Neighbor Remapping between a source (UxDataArray) and destination.`.

Parameters:
  • 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="spherical") – Indicates whether to remap using on spherical or cartesian coordinates