class_docstr: Test that the ParallaxCorrection class is behaving sensibly.
docstr: Test cloudy correction when areas overlap only partly.
docstr_tok: ["Test","cloudy","correction","when","areas","overlap","only","partly","."]
code: def test_correct_area_cloudy_partly_shifted(
      self,
  ):
      """Test cloudy correction when areas overlap only partly."""
      from satpy.modifiers.parallax import (
          IncompleteHeightWarning,
          ParallaxCorrection,
      )
      from satpy.tests.utils import make_fake_scene
  
      areas_00 = _get_fake_areas((0, 40), [5, 9], 0.1)
      areas_shift = _get_fake_areas((0.5, 40), [5, 9], 0.1)
      fake_area_small = areas_00[0]
      fake_area_large = areas_shift[1]
  
      sc = make_fake_scene(
          {"CTH_constant": np.full((9, 9), 10000)},
          daskify=False,
          area=fake_area_large,
          common_attrs=_get_attrs(0, 0, 35_000),
      )
  
      corrector = ParallaxCorrection(fake_area_small)
  
      with pytest.warns(IncompleteHeightWarning):
          new_area = corrector(sc["CTH_constant"])
      assert new_area.shape == fake_area_small.shape
  
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 7 for calling the TestParallaxCorrectionClass obj's underlying member method code with example usage: obj.test_correct_area_cloudy_partly_shifted() without return types