code: def test_invalid_x_domain(self):
      # If the point we need to calculate the vector angle falls outside the
      # source projection x-domain it should be handled correctly as long as
      # it is not a corner point.
      rlon = np.array([180.0])
      rlat = np.array([0.0])
      u = np.array([1.0])
      v = np.array([0.0])
      src_proj = ccrs.PlateCarree()
      target_proj = ccrs.Stereographic(
          central_latitude=90, central_longitude=0
      )
      ut, vt = target_proj.transform_vectors(src_proj, rlon, rlat, u, v)
      assert_array_almost_equal(ut, np.array([-1]), decimal=2)
      assert_array_almost_equal(vt, np.array([0.0]), decimal=2)
  
file_path: cartopy/lib/cartopy/tests/test_crs_transform_vectors.py
imports: import warnings
  import numpy
  from numpy.testing import assert_array_almost_equal
  import pytest
  import cartopy.crs
label_desc: Use image node_id 4 for calling the TestTransformVectors obj's underlying member method code with example usage: obj.test_invalid_x_domain() without return types