code: def test_export_compound_crs_cs():
      unit = {
          "type": "LinearUnit",
          "name": "US Survey Foot",
          "conversion_factor": 0.3048,
      }
      cartesian_cs = {
          "type": "CoordinateSystem",
          "subtype": "Cartesian",
          "axis": [
              {
                  "name": "Northing",
                  "abbreviation": "N",
                  "direction": "north",
                  "unit": unit,
              },
              {
                  "name": "Easting",
                  "abbreviation": "E",
                  "direction": "east",
                  "unit": unit,
              },
          ],
      }
      vertical_cs = {
          "type": "CoordinateSystem",
          "subtype": "vertical",
          "axis": [
              {
                  "name": "Gravity-related height",
                  "abbreviation": "H",
                  "direction": "up",
                  "unit": unit,
              }
          ],
      }
  
      crs = CRS.from_cf(
          {
              "semi_major_axis": 6378388.0,
              "semi_minor_axis": 6356911.9461279465,
              "inverse_flattening": 297.0,
              "reference_ellipsoid_name": "International 1924",
              "longitude_of_prime_meridian": 0.0,
              "prime_meridian_name": "Greenwich",
              "geographic_crs_name": "KKJ",
              "horizontal_datum_name": "Kartastokoordinaattijarjestelma (1966)",
              "projected_crs_name": "KKJ / Finland Uniform Coordinate System",
              "grid_mapping_name": "transverse_mercator",
              "latitude_of_projection_origin": 0.0,
              "longitude_of_central_meridian": 27.0,
              "false_easting": 3500000.0,
              "false_northing": 0.0,
              "scale_factor_at_central_meridian": 1.0,
              "geopotential_datum_name": "Helsinki 1960",
          },
          cartesian_cs=cartesian_cs,
          vertical_cs=vertical_cs,
      )
      cartesian_json_dict = crs.sub_crs_list[
          0
      ].coordinate_system.to_json_dict()
      cartesian_json_dict.pop("$schema")
      vertical_json_dict = crs.sub_crs_list[
          1
      ].coordinate_system.to_json_dict()
      vertical_json_dict.pop("$schema")
      assert cartesian_json_dict == cartesian_cs
      assert vertical_json_dict == vertical_cs
      # test coordinate system
      assert crs.cs_to_cf() == [
          {
              "axis": "Y",
              "long_name": "Northing",
              "standard_name": "projection_y_coordinate",
              "units": "0.3048 metre",
          },
          {
              "axis": "X",
              "long_name": "Easting",
              "standard_name": "projection_x_coordinate",
              "units": "0.3048 metre",
          },
          {
              "standard_name": "height_above_reference_ellipsoid",
              "long_name": "Gravity-related height",
              "units": "0.3048 metre",
              "positive": "up",
              "axis": "Z",
          },
      ]
  
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 44 for calling a global function with example usage: test_export_compound_crs_cs() without return types