class_docstr: Test case for the zenith corrector.
docstr: Test default limits when SZA isn't provided.
docstr_tok: ["Test","default","limits","when","SZA","is","n't","provided","."]
code: def test_basic_default_not_provided(self, sunz_ds1, as_32bit):
      """Test default limits when SZA isn't provided."""
      from satpy.modifiers.geometry import SunZenithCorrector
  
      if as_32bit:
          sunz_ds1 = sunz_ds1.astype(np.float32)
      comp = SunZenithCorrector(name="sza_test", modifiers=tuple())
      res = comp((sunz_ds1,), test_attr="test")
      np.testing.assert_allclose(
          res.values,
          np.array([[22.401667, 22.31777], [22.437503, 22.353533]]),
          rtol=1e-6,
      )
      assert "y" in res.coords
      assert "x" in res.coords
      ds1 = sunz_ds1.copy().drop_vars(("y", "x"))
      res = comp((ds1,), test_attr="test")
      res_np = res.compute()
      np.testing.assert_allclose(
          res_np.values,
          np.array([[22.401667, 22.31777], [22.437503, 22.353533]]),
          rtol=1e-6,
      )
      assert res.dtype == res_np.dtype
      assert "y" not in res.coords
      assert "x" not in res.coords
  
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 TestSunZenithCorrector obj's underlying member method code with example usage: obj.test_basic_default_not_provided(sunz_ds1, as_32bit) without return types