code: def _to_dict(operation):
      param_dict = {}
      for param in operation.params:
          param_dict[param.name] = param.value
      return param_dict
  
imports: import pytest
  from numpy.testing import assert_almost_equal
  from pyproj.crs import GeographicCRS
  from pyproj.crs.coordinate_operation import AlbersEqualAreaConversion, AzimuthalEquidistantConversion, EquidistantCylindricalConversion, GeostationarySatelliteConversion, HotineObliqueMercatorBConversion, LambertAzimuthalEqualAreaConversion, LambertConformalConic1SPConversion, LambertConformalConic2SPConversion, LambertCylindricalEqualAreaConversion, LambertCylindricalEqualAreaScaleConversion, MercatorAConversion, MercatorBConversion, OrthographicConversion, PlateCarreeConversion, PolarStereographicAConversion, PolarStereographicBConversion, PoleRotationNetCDFCFConversion, RotatedLatitudeLongitudeConversion, SinusoidalConversion, StereographicConversion, ToWGS84Transformation, TransverseMercatorConversion, UTMConversion, VerticalPerspectiveConversion
  from pyproj.exceptions import CRSError
label_desc: Use image node_id 1 for calling a global function with example usage: _to_dict(operation) and returns: param_dict