def METHOD_NAME(tmp_path):
    """Test global wxcode processing"""
    kgo_dir = acc.kgo_root() / "wxcode"
    kgo_path = kgo_dir / "global" / "kgo.nc"
    params = [param for param in ALL_PARAMS if "hail" not in param]
    param_paths = [
        kgo_dir / "global" / f"probability_of_{p}_threshold.nc" for p in params
    ]
    wxtree = kgo_dir / "wx_decision_tree.json"
    output_path = tmp_path / "output.nc"
    args = [
        *param_paths,
        "--wxtree",
        wxtree,
        "--model-id-attr",
        "mosg__model_configuration",
        "--target-period",
        "10800",
        "--output",
        output_path,
    ]
    run_cli(args)
    acc.compare(output_path, kgo_path)