uxarray.remap.nearest_neighbor._nearest_neighbor_uxds

uxarray.remap.nearest_neighbor._nearest_neighbor_uxds#

uxarray.remap.nearest_neighbor._nearest_neighbor_uxds(source_uxds, destination_obj, remap_to='nodes', coord_type='spherical')#

Nearest Neighbor Remapping implementation for UxDataset.

Parameters:
  • source_uxds (UxDataset) – Source UxDataset 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