Skip to content

Commit

Permalink
Filter on polarization
Browse files Browse the repository at this point in the history
  • Loading branch information
kvantricht committed Jul 2, 2024
1 parent 3f44093 commit 6d95e5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/worldcereal/openeo/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,12 @@ def raw_datacube_S1(

if orbit_direction is not None:
extractor_parameters["load_collection"] = {
"sat:orbit_state": lambda orbit: orbit == orbit_direction
"sat:orbit_state": lambda orbit: orbit == orbit_direction,
"polarisation": lambda pol: pol == "VV&VH",
}
else:
extractor_parameters["load_collection"] = {
"polarisation": lambda pol: pol == "VV&VH",
}

extractor = build_sentinel1_grd_extractor(
Expand Down

0 comments on commit 6d95e5e

Please sign in to comment.