class_docstr: Reader class for ICI L1B products in netCDF format.
class_docstr_tok: ["Reader","class","for","ICI","L1B","products","in","netCDF","format","."]
docstr: Interpolate from tie points to pixel points.
code: def _interpolate(
      self,
      interpolation_type,
  ):
      """Interpolate from tie points to pixel points."""
      try:
          if interpolation_type is InterpolationType.SOLAR_ANGLES:
              var_key1 = self.filetype_info["solar_azimuth"]
              var_key2 = self.filetype_info["solar_zenith"]
              interp_method = self._interpolate_viewing_angle
          elif (
              interpolation_type is InterpolationType.OBSERVATION_ANGLES
          ):
              var_key1 = self.filetype_info["observation_azimuth"]
              var_key2 = self.filetype_info["observation_zenith"]
              interp_method = self._interpolate_viewing_angle
          else:
              var_key1 = self.filetype_info["longitude"]
              var_key2 = self.filetype_info["latitude"]
              interp_method = self._interpolate_geo
          return interp_method(
              self[var_key1],
              self[var_key2],
              self._n_samples,
          )
      except KeyError:
          logger.warning(
              f"Datasets for {interpolation_type.name} interpolation not correctly defined in YAML file"
          )  # noqa: E501
      return None, None
  
imports: import logging
  from datetime import datetime
  from enum import Enum
  from functools import cached_property
  import dask.array
  import numpy
  import xarray
  from geotiepoints.geointerpolator import GeoInterpolator
  from satpy.readers.netcdf_utils import NetCDF4FileHandler
label_desc: Use image node_id 18 for calling the IciL1bNCFileHandler obj's underlying member method code with example usage: obj._interpolate(interpolation_type) and returns: None,  None, interp_method