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.