code: def test_ellipsoid_transform(self):
      # USGS Professional Paper 1395, pp 299--300
      globe = ccrs.Globe(
          semimajor_axis=6378206.4,
          flattening=1 - np.sqrt(1 - 0.00676866),
          ellipse=None,
      )
      lat_1 = 29.5
      lat_2 = 45.5
      eqdc = ccrs.EquidistantConic(
          central_latitude=23.0,
          central_longitude=-96.0,
          standard_parallels=(lat_1, lat_2),
          globe=globe,
      )
      geodetic = eqdc.as_geodetic()
  
      other_args = {
          "a=6378206.4",
          "f=0.003390076308689371",
          "lon_0=-96.0",
          "lat_0=23.0",
          "x_0=0.0",
          "y_0=0.0",
          "lat_1=29.5",
          "lat_2=45.5",
      }
      check_proj_params("eqdc", eqdc, other_args)
      expected_x = (-22421870.719894886, 22421870.719894886)
      expected_y = (-12546277.778958388, 17260638.403203618)
      if pyproj.__proj_version__ >= "9.2.0":
          expected_x = (-22421870.71988974, 22421870.71988976)
          expected_y = (-12546277.77895742, 17260638.403216)
      assert_almost_equal(
          np.array(eqdc.x_limits), expected_x, decimal=7
      )
      assert_almost_equal(
          np.array(eqdc.y_limits), expected_y, decimal=7
      )
  
      result = eqdc.transform_point(-75.0, 35.0, geodetic)
  
      assert_almost_equal(result, (1885051.9, 1540507.6), decimal=1)
  
file_path: cartopy/lib/cartopy/tests/crs/test_equidistant_conic.py
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_almost_equal
  import pyproj
  import pytest
  import cartopy.crs
  from .helpers import check_proj_params
label_desc: Use image node_id 7 for calling the TestEquidistantConic obj's underlying member method code with example usage: obj.test_ellipsoid_transform() without return types