class_docstr: File handler for the SGLI l1b data.
class_docstr_tok: ["File","handler","for","the","SGLI","l1b","data","."]
docstr: Interpolate spherical coordinates.
docstr_tok: ["Interpolate","spherical","coordinates","."]
code: def interpolate_spherical(
      self, azimuthal_angle, polar_angle, resampling_interval
  ):
      """Interpolate spherical coordinates."""
      from geotiepoints.geointerpolator import GeoGridInterpolator
  
      full_shape = (
          self.h5file["Image_data"].attrs["Number_of_lines"],
          self.h5file["Image_data"].attrs["Number_of_pixels"],
      )
  
      tie_lines = np.arange(
          0,
          polar_angle.shape[0] * resampling_interval,
          resampling_interval,
      )
      tie_cols = np.arange(
          0,
          polar_angle.shape[1] * resampling_interval,
          resampling_interval,
      )
  
      interpolator = GeoGridInterpolator(
          (tie_lines, tie_cols),
          azimuthal_angle,
          polar_angle,
          method="slinear",
      )
      new_azi, new_pol = interpolator.interpolate_to_shape(
          full_shape, chunks="auto"
      )
      return new_azi, new_pol
  
imports: import logging
  from datetime import datetime
  import dask.array
  import h5py
  import numpy
  import xarray
  from dask.array.core import normalize_chunks
  from satpy.readers.file_handlers import BaseFileHandler
label_desc: Use image node_id 13 for calling the HDF5SGLI obj's underlying member method code with example usage: obj.interpolate_spherical(azimuthal_angle, polar_angle, resampling_interval) and returns: new_azi,  new_pol