Skip to content

Commit

Permalink
Merge pull request #97 from WorldCereal/hotfix-s1pol
Browse files Browse the repository at this point in the history
Filter on S1 polarization
  • Loading branch information
kvantricht authored Jul 2, 2024
2 parents 3f44093 + 6d95e5e commit 2521db0
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 2521db0

Please sign in to comment.