code: def test_cf_from_numpy_dtypes():
      cf = {
          "grid_mapping_name": "lambert_conformal_conic",
          "standard_parallel": numpy.array([60, 30], dtype="f4"),
          "longitude_of_central_meridian": numpy.float32(0),
          "latitude_of_projection_origin": numpy.int32(45),
      }
      crs = CRS.from_cf(cf)
      with pytest.warns(UserWarning):
          assert crs.to_dict() == {
              "datum": "WGS84",
              "lat_0": 45,
              "lat_1": 60,
              "lat_2": 30,
              "lon_0": 0,
              "no_defs": None,
              "proj": "lcc",
              "type": "crs",
              "units": "m",
              "x_0": 0,
              "y_0": 0,
          }
  
imports: import numpy
  import pytest
  from numpy.testing import assert_almost_equal
  from packaging import version
  from pyproj import CRS
  from pyproj.crs import ProjectedCRS
  from pyproj.crs._cf1x8 import _try_list_if_string
  from pyproj.crs.coordinate_operation import LambertAzimuthalEqualAreaConversion, LambertCylindricalEqualAreaConversion, MercatorAConversion, OrthographicConversion, PolarStereographicAConversion, PolarStereographicBConversion, SinusoidalConversion, StereographicConversion, VerticalPerspectiveConversion
  from pyproj.exceptions import CRSError
  from test.conftest import PROJ_GTE_901, PROJ_LOOSE_VERSION
label_desc: Use image node_id 3 for calling a global function with example usage: test_cf_from_numpy_dtypes() without return types