remove_repeat_coordinates

metpy.gridding.remove_repeat_coordinates(x, y, z)[source]

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.