-
Notifications
You must be signed in to change notification settings - Fork 14
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
Process graph of load_collection properties fails for more generic process graphs. #239
Comments
@danielFlemstrom just a note, it's better if you copy and paste the code instead of taking a screenshot, so that we can easily reproduce it! |
|
@ValentinaHutter do you at EODC have collections where you can use properties for filtering? |
I now checked our internal implementation of load_collection - we also just expect the input properties to be a dictionary and resolve the stac client search from the dictionary. For us, we also only used one property so far. We will let you know, when we manage to update it in the pg-parser. |
A dictionary is fine for me as long as it get passed on by the pgparser. We parse the dictionary and create a filtering expression that is sent in to the odc.load function (Since we are using open datacube for loading collections), if that is of any help. |
Not sure if this is intended to work, but if you want to filter by a property in a range the client outputs a process-graph but it cannot be translated by openeo-processes-dask
Exception <class 'openeo_processes_dask.process_implementations.exceptions.ProcessParameterMissing'> Error: Process Parameter value was missing for process gte
Process graph for the last cases:
{ "process_graph": { "loadcollection1": { "process_id": "load_collection", "arguments": { "bands": [ "chl_nn" ], "id": "s3_olci_l2wfr", "properties": { "eo:cloud_cover": { "process_graph": { "gte1": { "process_id": "gte", "arguments": { "x": { "from_parameter": "value" }, "y": 5 } }, "lte1": { "process_id": "lte", "arguments": { "x": { "from_parameter": "value" }, "y": 10 } }, "and1": { "process_id": "and", "arguments": { "x": { "from_node": "gte1" }, "y": { "from_node": "lte1" } }, "result": true } } } }, "spatial_extent": { "west": 15.862841471258125, "east": 17.52375679097526, "south": 59.188299941115375, "north": 59.7224489782685 }, "temporal_extent": [ "2020-07-01T00:00:00Z", "2023-07-31T00:00:00Z" ] }, "result": true } } }
I would expect to get the process graph in
properties
inload_collection
.The text was updated successfully, but these errors were encountered: