class_docstr: Test creating new Scenes by cropping an existing Scene.
docstr: Test the crop method when source area uses an EPSG code.
docstr_tok: ["Test","the","crop","method","when","source","area","uses","an","EPSG","code","."]
code: def test_crop_epsg_crs(self):
      """Test the crop method when source area uses an EPSG code."""
      from pyresample.geometry import AreaDefinition
  
      scene1 = Scene()
      area_extent = (699960.0, 5390220.0, 809760.0, 5500020.0)
      x_size = 3712
      y_size = 3712
      area_def = AreaDefinition(
          "test",
          "test",
          "test",
          "EPSG:32630",
          x_size,
          y_size,
          area_extent,
      )
      scene1["1"] = xr.DataArray(
          np.zeros((y_size, x_size)),
          dims=("y", "x"),
          attrs={"area": area_def},
      )
      # by x/y bbox
      new_scn1 = scene1.crop(
          xy_bbox=(
              719695.7781587119,
              5427887.407618969,
              725068.1609052602,
              5433708.364368956,
          )
      )
      assert "1" in new_scn1
      assert new_scn1["1"].shape == (198, 182)
  
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 2 for calling the TestSceneCrop obj's underlying member method code with example usage: obj.test_crop_epsg_crs() without return types