code: def test_transform_tuple_nad83_to_nad27():
      # projection 1: UTM zone 15, grs80 ellipse, NAD83 datum
      # (defined by epsg code 26915)
      p1 = Proj("epsg:26915", preserve_units=False)
      # projection 2: UTM zone 15, clrk66 ellipse, NAD27 datum
      p2 = Proj("epsg:26715", preserve_units=False)
      # process 3 points at a time in a tuple
      lats = (38.83, 39.32, 38.75)  # Columbia, KC and StL Missouri
      lons = (-92.22, -94.72, -90.37)
      x1, y1 = p1(lons, lats)
      x2, y2 = transform(p1, p2, x1, y1)
      assert_almost_equal(
          x1,
          (567703.344, 351730.944, 728553.093),
          decimal=3,
      )
      assert_almost_equal(
          y1,
          (4298200.739, 4353698.725, 4292319.005),
          decimal=3,
      )
      expected_x2 = (567721, 351747, 728569)
      expected_y2 = (4297989, 4353489, 4292106)
      if PROJ_GTE_911:
          expected_x2 = (567719, 351748, 728568)
          expected_y2 = (4297989, 4353487, 4292108)
          if (
              PROJ_GTE_92
              and grids_available(
                  "us_noaa_nadcon5_nad27_nad83_1986_conus.tif",
                  check_network=False,
              )
          ) or grids_available():
              expected_x2 = (567721, 351747, 728569)
              expected_y2 = (4297989, 4353489, 4292106)
          elif grids_available(
              "ca_nrc_ntv2_0.tif",
              "ca_nrc_ntv1_can.tif",
              check_network=False,
          ):
              expected_x2 = (567705, 351727, 728558)
              expected_y2 = (4297993, 4353490, 4292111)
          elif grids_available(
              "us_noaa_conus.tif", check_network=False
          ):
              expected_x2 = (567721, 351747, 728569.133)
              expected_y2 = (4297989, 4353489, 4292106)
  
      assert_almost_equal(
          x2,
          expected_x2,
          decimal=0,
      )
      assert_almost_equal(
          y2,
          expected_y2,
          decimal=0,
      )
      lons2, lats2 = p2(x2, y2, inverse=True, errcheck=True)
      assert_almost_equal(
          lons2,
          (-92.220, -94.720, -90.370),
          decimal=3,
      )
      assert_almost_equal(
          lats2,
          (38.830, 39.320, 38.750),
          decimal=3,
      )
  
file_path: pyproj/test/test_transform.py
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_almost_equal
  from pyproj import Proj, __proj_version__, transform
  from test.conftest import PROJ_911, PROJ_GTE_92, PROJ_GTE_911, grids_available
label_desc: Use image node_id 3 for calling a global function with example usage: test_transform_tuple_nad83_to_nad27() without return types