-
Notifications
You must be signed in to change notification settings - Fork 43
cannot specify instrument mode #746
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
Comments
Hi, can you be a bit more specific? For example: what openEO backend (URL) are you using? |
Hi, I am using openeo.dataspace.copernicus.eu. In the metadata, the imaging mode and orbital pass are exist, but i could not use it in load_collection module for filtering the image i am looking for. Or also maybe I did not know how to specify such information.... I hope this answers and thanks for the link! |
note that @Pratichhya @VincentVerelst @VictorVerhaert dou you have by any chance an example (community notebook) of using this for filtering on |
We don't have an example for instrument mode filtering, however the simple example of filtering by properties is: https://github.com/eu-cdse/notebook-samples/blob/main/openeo/Radar_ARD.ipynb So basically, for filtering based on instrument mode, the following example should work:
|
since python client 0.26, it looks nicer, I guess, to use this pattern (avoiding the lambda), as mentioned at https://open-eo.github.io/openeo-python-client/data_access.html#filter-on-collection-properties: import openeo
s1 = conn.load_collection( "SENTINEL1_GRD",
...,
properties=[
openeo.collection_property("sat:instrumentmode") == "IW",
],
) I think we should promote that in example notebooks @Pratichhya |
Thank you very much for answering the question, is it indeed helpful. I tried the code and it works well. I should have explored more of course. |
There is indeed still a usability gap here. FYI, this ticket is to improve this in the python client: However, this also need support on the backend-side, which is not there yet (e.g. see Open-EO/openeo-geopyspark-driver#536) |
Unfortunately, at the moment, I'm afraid we don't have some king of listing/documentation on this as far as I know. Or do we @Pratichhya ? If you have a concrete question, the only solution currently to reach out for support, e.g. at https://forum.dataspace.copernicus.eu/c/openeo/28 |
No, unfortunately, we don't have that documented anywhere yet. |
This is a great API, but for for Sentinel-1 GRD, i only want to use imaging mode IW, but cannnot be specified here:(
The text was updated successfully, but these errors were encountered: