remove_nan_observations

metpy.interpolate.remove_nan_observations(x, y, z)[source]

Remove all x, y, and z where z is nan.

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 nan valued observations.

Examples using metpy.interpolate.remove_nan_observations