class_docstr: Find orbit polynomial for a given timestamp.
class_docstr_tok: ["Find","orbit","polynomial","for","a","given","timestamp","."]
docstr: Find interval closest to the given timestamp.
  
  Returns:
      Index of closest interval, distance from its center
docstr_tok: ["Find","interval","closest","to","the","given","timestamp",".","Returns",":","Index","of","closest","interval",",","distance","from","its","center"]
code: def _get_closest_interval(self, time):
      """Find interval closest to the given timestamp.
  
      Returns:
          Index of closest interval, distance from its center
      """
      intervals_centre = self.valid_from + 0.5 * (
          self.valid_to - self.valid_from
      )
      diffs_us = (time - intervals_centre).astype("i8")
      closest_match = np.argmin(np.fabs(diffs_us))
      distance = abs(intervals_centre[closest_match] - time)
      return closest_match, distance
  
imports: from __future__ import annotations
  import warnings
  from datetime import datetime, timedelta
  import dask.array
  import numpy
  import pyproj
  from numpy.polynomial.chebyshev import Chebyshev
  from satpy.readers.eum_base import issue_revision, time_cds_short
  from satpy.readers.utils import apply_earthsun_distance_correction
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 5 for calling the OrbitPolynomialFinder obj's underlying member method code with example usage: obj._get_closest_interval(time) and returns: closest_match,  distance