class_docstr: Test the IciL1bNCFileHandler reader.
class_docstr_tok: ["Test","the","IciL1bNCFileHandler","reader","."]
docstr: Test interpolate geographic coordinates.
docstr_tok: ["Test","interpolate","geographic","coordinates","."]
code: def test_interpolate_geo(self, reader):
      """Test interpolate geographic coordinates."""
      shape = (N_SCAN, N_SUBS, N_HORNS)
      dims = ("n_scan", "n_subs", "n_horns")
      longitude = xr.DataArray(
          2.0 * np.ones(shape),
          dims=dims,
          coords={
              "n_horns": np.arange(N_HORNS),
              "n_subs": np.arange(N_SUBS),
          },
      )
      latitude = xr.DataArray(np.ones(shape), dims=dims)
      lon, lat = reader._interpolate_geo(
          longitude,
          latitude,
          N_SAMPLES,
      )
      expect_shape = (N_SCAN, N_SAMPLES, N_HORNS)
      assert lon.shape == expect_shape
      assert lat.shape == expect_shape
      np.testing.assert_allclose(lon, 2.0)
      np.testing.assert_allclose(lat, 1.0)
  
imports: from datetime import datetime
  from unittest.mock import patch
  import numpy
  import pytest
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.ici_l1b_nc import IciL1bNCFileHandler, InterpolationType
label_desc: Use image node_id 26 for calling the TestIciL1bNCFileHandler obj's underlying member method code with example usage: obj.test_interpolate_geo(reader) without return types