def METHOD_NAME(tmp_path):
    """Test probability metadata cube generated using using threshold
    coordinate defined in the json input"""
    kgo_path = kgo_dir / "kgo_probability.nc"
    thresholds_path = kgo_dir / "thresholds.json"
    output_path = tmp_path / "output.nc"
    args = [
        mandatory_attributes_json,
        "--json-input",
        thresholds_path,
        "--output",
        output_path,
    ]
    run_cli(args)
    acc.compare(output_path, kgo_path)