remove_observations_below_value#

metpy.interpolate.remove_observations_below_value(x, y, z, val=0)[source]#

Remove all x, y, and z where z is less than val.

Will not destroy original values.

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

  • y (array-like) – y coordinate.

  • z (array-like) – Observation value.

  • val (float) – Value at which to threshold z.

Returns:

x, y, z – List of coordinate observation pairs without observation values less than val.