uxarray.remap.inverse_distance_weighted._inverse_distance_weighted_remap_uxds#
- uxarray.remap.inverse_distance_weighted._inverse_distance_weighted_remap_uxds(source_uxds, destination_obj, remap_to='nodes', coord_type='spherical', power=2, k=8)#
Inverse Distance Weighted 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
power (int, default=2) – Power parameter for inverse distance weighting. This controls how local or global the remapping is, a higher power causes points that are further away to have less influence
k (int, default=8) – Number of nearest neighbors to consider in the weighted calculation.