Skip to content

Commit

Permalink
Added processing level for S1 too
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinBabe committed Mar 8, 2024
1 parent ca7b90f commit dbe6116
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/openeo_gfmap/fetching/s1.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
from .fetching import CollectionFetcher, FetchType

BASE_SENTINEL1_GRD_MAPPING = {
"VH": "S1-VH",
"HH": "S1-HH",
"HV": "S1-HV",
"VV": "S1-VV",
"VH": "S1-SIGMA0-VH",
"HH": "S1-SIGMA0-HH",
"HV": "S1-SIGMA0-HV",
"VV": "S1-SIGMA0-VV",
}


Expand Down
8 changes: 4 additions & 4 deletions tests/test_openeo_gfmap/test_s1_fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def sentinel1_grd(
):
context = BackendContext(backend)
country = spatial_extent["country"]
bands = ["S1-VV", "S1-VH"]
expected_harmonized_bands = ["S1-VV", "S1-VH"]
bands = ["S1-SIGMA0-VV", "S1-SIGMA0-VH"]
expected_harmonized_bands = ["S1-SIGMA0-VV", "S1-SIGMA0-VH"]

fetching_parameters = {
"target_resolution": 10.0,
Expand Down Expand Up @@ -152,7 +152,7 @@ def sentinel1_grd_point_based(
given polygons.
"""
context = BackendContext(backend)
bands = ["S1-VV", "S1-VH"]
bands = ["S1-SIGMA0-VV", "S1-SIGMA0-VH"]

# Because it is tested in malawi, and this is the EPSG code for
# the UTM projection in that zone
Expand Down Expand Up @@ -203,7 +203,7 @@ def sentinel1_grd_polygon_based(
connection: openeo.Connection,
):
context = BackendContext(backend)
bands = ["S1-VV", "S1-VH"]
bands = ["S1-SIGMA0-VV", "S1-SIGMA0-VH"]

fetching_parameters = {
"target_crs": 3035, # Location in Europe
Expand Down

0 comments on commit dbe6116

Please sign in to comment.