remove_repeat_coordinates#

metpy.interpolate.remove_repeat_coordinates(x, y, z)#

Remove all x, y, and z where (x,y) is repeated and keep the first occurrence only.

Will not destroy original values.

Parameters:
  • x (array-like) – x coordinate

  • y (array-like) – y coordinate

  • z (array-like) – observation value

Returns:

x, y, z – List of coordinate observation pairs without repeated coordinates.

Examples using metpy.interpolate.remove_repeat_coordinates#

Point Interpolation

Point Interpolation