class_docstr: Test that the ParallaxCorrection class is behaving sensibly.
docstr: Test ParallaxCorrection when CTH has no orbital parameters.
  
  Some CTH products, such as NWCSAF-GEO, do not include information
  on satellite location directly.  Rather, they include platform name,
  sensor, start time, and end time, that we have to use instead.
docstr_tok: ["Test","ParallaxCorrection","when","CTH","has","no","orbital","parameters",".","Some","CTH","products",",","such","as","NWCSAF-GEO",",","do","not","include","information","on","satellite","location","directly",".","Rather",",","they","include","platform","name",",","sensor",",","start","time",",","and","end","time",",","that","we","have","to","use","instead","."]
code: def test_correct_area_no_orbital_parameters(self, caplog, fake_tle):
      """Test ParallaxCorrection when CTH has no orbital parameters.
  
      Some CTH products, such as NWCSAF-GEO, do not include information
      on satellite location directly.  Rather, they include platform name,
      sensor, start time, and end time, that we have to use instead.
      """
      from satpy.modifiers.parallax import ParallaxCorrection
      from satpy.tests.utils import make_fake_scene
  
      small = 5
      large = 9
      (fake_area_small, fake_area_large) = _get_fake_areas(
          (0, 0), [small, large], 0.05
      )
      corrector = ParallaxCorrection(fake_area_small)
  
      sc = make_fake_scene(
          {"CTH_clear": np.full((large, large), np.nan)},
          daskify=False,
          area=fake_area_large,
          common_attrs={
              "platform_name": "Meteosat-42",
              "sensor": "irives",
              "start_time": datetime.datetime(3021, 11, 30, 12, 24, 17),
              "end_time": datetime.datetime(3021, 11, 30, 12, 27, 22),
          },
      )
      with unittest.mock.patch("pyorbital.tlefile.read") as plr:
          plr.return_value = fake_tle
          with caplog.at_level(logging.WARNING):
              new_area = corrector(sc["CTH_clear"])
      assert "Orbital parameters missing from metadata." in caplog.text
      np.testing.assert_allclose(
          new_area.get_lonlats(), fake_area_small.get_lonlats()
      )
  
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 9 for calling the TestParallaxCorrectionClass obj's underlying member method code with example usage: obj.test_correct_area_no_orbital_parameters(caplog, fake_tle) without return types