Skip to content

Commit

Permalink
sar_backscatter: add assert on partitioner
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Jan 28, 2025
1 parent 0a496eb commit d680363
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/data_collections/test_s1backscatter_orfeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,8 @@ def test_creodias_s1_backscatter(
}}
)
datacube = catalog.load_collection("Creodias-S1-Backscatter", load_params=load_params, env=EvalEnv())
print(datacube.get_max_level().srdd.rdd().partitioner())

assert "SpacePartitioner" in str(datacube.get_max_level().srdd.rdd().partitioner())

# Compare actual with the expected result.
filename = tmp_path / "s1backscatter.tiff"
Expand Down

0 comments on commit d680363

Please sign in to comment.