Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SENTINEL1_GRD: support filtering by orbit number #339

Open
bossie opened this issue Oct 22, 2024 · 2 comments
Open

SENTINEL1_GRD: support filtering by orbit number #339

bossie opened this issue Oct 22, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@bossie
Copy link
Collaborator

bossie commented Oct 22, 2024

https://discuss.eodc.eu/t/sentinel-1-time-series-how-selecting-orbit-number/1004/2

Relevant feature properties are sat:absolute_orbit and sat:relative_orbit. At the moment they are propagated to the Catalog API; this works for sentinel-5p-l2/sat:absolute_orbit but not for sentinel-1-grd at all:

{
    "code": 400,
    "description": "Querying is not supported on property 'sat:absolute_orbit'. Possible properties are 'sar:instrument_mode', 's1:polarization', 'sat:orbit_state', 's1:resolution', 's1:timeliness'."
}

Instead, this will probably involve client-side filtering like we do for tileId.

@bossie bossie added the enhancement New feature or request label Oct 22, 2024
@jdries
Copy link
Contributor

jdries commented Oct 28, 2024

Note that using 'relativeOrbitNumber' as filter property should work just fine on cdse.
Isn't it better to just use that?

@EmileSonneveld
Copy link
Contributor

Recommended this snippet:

url = "https://openeo.dataspace.copernicus.eu"
connection = openeo.connect(url).authenticate_oidc()

spatial_extent_tap = {"east": 5.08, "north": 51.22, "south": 51.215, "west": 5.07}

bbox_aoi = spatial_extent_tap
s1_cube = connection.load_collection(
    "SENTINEL1_GRD",
    temporal_extent=("2019-06-01", "2019-06-20"),
    spatial_extent=bbox_aoi,
    bands=['VH', 'VV'],
    properties=[
        openeo.collection_property("sat:orbit_state") == "ASCENDING",
        # options for this extent are 161 and 88
        openeo.collection_property("relativeOrbitNumber") == "161",
    ],
)

s1_cube = s1_cube.sar_backscatter(
    elevation_model="COPERNICUS_30",
    coefficient="sigma0-ellipsoid",
    options={"implementation_version": "2", "debug": True, "tile_size": 256},
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants