class_docstr: Test the pyspectral-based atmospheric correction modifier.
docstr: Test atmospherical correction.
docstr_tok: ["Test","atmospherical","correction","."]
code: def test_call(self):
      """Test atmospherical correction."""
      from pyresample.geometry import SwathDefinition
  
      from satpy.modifiers import PSPAtmosphericalCorrection
  
      # Patch methods
      lons = np.zeros((5, 5))
      lons[1, 1] = np.inf
      lons = da.from_array(lons, chunks=5)
      lats = np.zeros((5, 5))
      lats[1, 1] = np.inf
      lats = da.from_array(lats, chunks=5)
      area = SwathDefinition(lons, lats)
      stime = datetime(2020, 1, 1, 12, 0, 0)
      orb_params = {
          "satellite_actual_altitude": 12345678,
          "nadir_longitude": 0.0,
          "nadir_latitude": 0.0,
      }
      band = xr.DataArray(
          da.zeros((5, 5)),
          attrs={
              "area": area,
              "start_time": stime,
              "name": "name",
              "platform_name": "platform",
              "sensor": "sensor",
              "orbital_parameters": orb_params,
          },
          dims=("y", "x"),
      )
  
      # Perform atmospherical correction
      psp = PSPAtmosphericalCorrection(name="dummy")
      res = psp(projectables=[band])
      res.compute()
  
imports: import unittest
  from datetime import datetime
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition, StackedAreaDefinition
  from pytest_lazyfixture import lazy_fixture
label_desc: Use image node_id 1 for calling the TestPSPAtmosphericalCorrection obj's underlying member method code with example usage: obj.test_call() without return types