xdas.coordinates.InterpCoordinate.get_discontinuities#

InterpCoordinate.get_discontinuities(tolerance=None)#

Return a DataFrame containing information about the discontinuities.

Returns:

A DataFrame with the following columns:

  • start_indexint

    The index where the discontinuity starts.

  • end_indexint

    The index where the discontinuity ends.

  • start_valuefloat

    The value at the start of the discontinuity.

  • end_valuefloat

    The value at the end of the discontinuity.

  • deltafloat

    The difference between the end_value and start_value.

  • typestr

    The type of the discontinuity, either “gap” or “overlap”.

Return type:

pandas.DataFrame