class_docstr: Test the scene's aggregate method.
docstr: Test the aggregate method.
docstr_tok: ["Test","the","aggregate","method","."]
code: def test_aggregate(self):
      """Test the aggregate method."""
      x_size = 3712
      y_size = 3712
  
      scene1 = self._create_test_data(x_size, y_size)
  
      scene2 = scene1.aggregate(func="sum", x=2, y=2)
      expected_aggregated_shape = (y_size / 2, x_size / 2)
      self._check_aggregation_results(
          expected_aggregated_shape, scene1, scene2, x_size, y_size
      )
  
imports: from unittest import mock
  import numpy
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
  from satpy.dataset.dataid import default_id_keys_config
  from satpy.tests.utils import make_cid, make_dataid
label_desc: Use image node_id 1 for calling the TestSceneAggregation obj's underlying member method code with example usage: obj.test_aggregate() without return types