def METHOD_NAME(tmp_path):
    """Test extraction with range constraints"""
    kgo_dir = acc.kgo_root() / "extract/range_constraints"
    kgo_path = kgo_dir / "kgo.nc"
    input_path = kgo_dir / "../basic/input.nc"
    output_path = tmp_path / "output.nc"
    args = [
        input_path,
        "--constraints",
        "projection_y_coordinate=[-400000:-158000]",
        "--constraints",
        "projection_x_coordinate=[-204000:16000]",
        "--output",
        output_path,
    ]
    run_cli(args)
    acc.compare(output_path, kgo_path, recreate=False)