class_docstr: Test that the parallax correction modifier works correctly.
docstr: Test the modifier interface.
docstr_tok: ["Test","the","modifier","interface","."]
code: def test_parallax_modifier_interface(self):
      """Test the modifier interface."""
      from satpy.modifiers.parallax import ParallaxCorrectionModifier
  
      (area_small, area_large) = _get_fake_areas((0, 0), [5, 9], 0.1)
      fake_bt = xr.DataArray(
          np.linspace(220, 230, 25).reshape(5, 5),
          dims=("y", "x"),
          attrs={"area": area_small, **_get_attrs(0, 0, 35_000)},
      )
      cth_clear = xr.DataArray(
          np.full((9, 9), np.nan),
          dims=("y", "x"),
          attrs={"area": area_large, **_get_attrs(0, 0, 35_000)},
      )
      modif = ParallaxCorrectionModifier(
          name="parallax_corrected_dataset",
          prerequisites=[fake_bt, cth_clear],
          optional_prerequisites=[],
          cth_radius_of_influence=48_000,
          dataset_radius_of_influence=49_000,
      )
      res = modif([fake_bt, cth_clear], optional_datasets=[])
      np.testing.assert_allclose(res, fake_bt)
      with unittest.mock.patch(
          "satpy.modifiers.parallax.resample_dataset"
      ) as smp:
          smp.side_effect = satpy.resample.resample_dataset
          modif([fake_bt, cth_clear], optional_datasets=[])
          assert (
              smp.call_args_list[0].kwargs["radius_of_influence"]
              == 48_000
          )
          assert (
              smp.call_args_list[1].kwargs["radius_of_influence"]
              == 49_000
          )
  
imports: import datetime
  import logging
  import math
  import os
  import unittest.mock
  import dask.array
  import dask.config
  import numpy
  import pyorbital.tlefile
  import pyresample.kd_tree
  import pytest
  import xarray
  from pyproj import Geod
  from pyresample import create_area_def
  import satpy.resample
  from satpy.tests.utils import xfail_skyfield_unstable_numpy2
  from satpy.writers import get_enhanced_image
label_desc: Use image node_id 1 for calling the TestParallaxCorrectionModifier obj's underlying member method code with example usage: obj.test_parallax_modifier_interface() without return types