def METHOD_NAME(tmp_path):
    """Test percentile to realization conversion with reordering"""
    kgo_dir = acc.kgo_root() / "generate-realizations/percentiles_reordering"
    kgo_path = kgo_dir / "kgo.nc"
    forecast_path = kgo_dir / "raw_forecast.nc"
    percentiles_path = kgo_dir / "multiple_percentiles_wind_cube.nc"
    output_path = tmp_path / "output.nc"
    args = [
        "--realizations-count",
        "12",
        "--random-seed",
        "0",
        percentiles_path,
        forecast_path,
        "--output",
        output_path,
    ]
    run_cli(args)
    acc.compare(output_path, kgo_path)