code: def test_warp_reproject_dimensions(runner, tmpdir):
      srcname = "tests/data/shade.tif"
      outputname = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          [
              "warp",
              srcname,
              outputname,
              "--dst-crs",
              "EPSG:4326",
              "--dimensions",
              "100",
              "100",
          ],
      )
      assert result.exit_code == 0
      assert os.path.exists(outputname)
  
      with rasterio.open(outputname) as output:
          assert output.crs == {"init": "epsg:4326"}
          assert output.width == 100
          assert output.height == 100
          assert np.allclose(
              [0.0008789062498762235, 0.0006771676143921468],
              [output.transform.a, -output.transform.e],
          )
  
imports: import os
  import affine
  import numpy
  import pytest
  import rasterio
  from rasterio.warp import SUPPORTED_RESAMPLING
  from rasterio.rio import warp
  from rasterio.rio.main import main_group
label_desc: Use image node_id 19 for calling a global function with example usage: test_warp_reproject_dimensions(runner, tmpdir) without return types