code: def test_transform_single_point_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)
      # find x,y of Jefferson City, MO.
      x1, y1 = p1(-92.199881, 38.56694)
      # transform this point to projection 2 coordinates.
      x2, y2 = transform(p1, p2, x1, y1)
      assert_almost_equal(
          (x1, y1),
          (569704.566, 4269024.671),
          decimal=3,
      )
      expected_xy2 = (569722, 4268814)
      if PROJ_GTE_911:
          expected_xy2 = (569720, 4268813)
          if (
              PROJ_GTE_92
              and grids_available(
                  "us_noaa_nadcon5_nad27_nad83_1986_conus.tif",
                  check_network=False,
              )
          ) or grids_available():
              expected_xy2 = (569722, 4268814)
          elif grids_available(
              "ca_nrc_ntv2_0.tif",
              "ca_nrc_ntv1_can.tif",
              check_network=False,
          ):
              expected_xy2 = (569706, 4268817)
          elif grids_available(
              "us_noaa_conus.tif", check_network=False
          ):
              expected_xy2 = (569722, 4268814)
  
      assert_almost_equal(
          (x2, y2),
          expected_xy2,
          decimal=0,
      )
      assert_almost_equal(
          p2(x2, y2, inverse=True, errcheck=True),
          (-92.200, 38.567),
          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 2 for calling a global function with example usage: test_transform_single_point_nad83_to_nad27() without return types