Open soxofaan opened 1 month ago
dump from relevant logs:
File "/opt/openeo/lib/python3.8/site-packages/openeogeotrellis/layercatalog.py", line 114, in load_collection
return self._load_collection_cached(collection_id, load_params, WhiteListEvalEnv(env, WHITELIST))
File "/opt/openeo/lib/python3.8/site-packages/openeogeotrellis/layercatalog.py", line 260, in _load_collection_cached
datacubeParams, single_level = datacube_parameters.create(load_params, env, jvm)
File "/opt/openeo/lib/python3.8/site-packages/openeogeotrellis/datacube_parameters.py", line 67, in create
labels_filter = GeoPySparkBackendImplementation.accept_process_graph(
File "/opt/openeo/lib/python3.8/site-packages/openeogeotrellis/backend.py", line 985, in accept_process_graph
return GeotrellisTileProcessGraphVisitor.create(default_input_parameter=default_input_parameter,default_input_datatype=default_input_datatype).accept_process_graph(process_graph)
File "/opt/openeo/lib/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 78, in accept_process_graph
self.accept_node(graph[top_level_node])
File "/opt/openeo/lib/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 89, in accept_node
self._accept_process(process_id=pid, arguments=arguments, namespace=namespace)
File "/opt/openeo/lib/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 105, in _accept_process
self.leaveProcess(process_id=process_id, arguments=arguments, namespace=namespace)
File "/opt/openeo/lib/python3.8/site-packages/openeogeotrellis/processgraphvisiting.py", line 35, in leaveProcess
self.builder.expressionEnd(process_id, arguments)
File "/usr/local/spark/python/lib/py4j-0.10.9.7-src.zip/py4j/java_gateway.py", line 1322, in __call__
return_value = get_return_value(
File "/usr/local/spark/python/lib/py4j-0.10.9.7-src.zip/py4j/protocol.py", line 326, in get_return_value
raise Py4JJavaError(
py4j.protocol.Py4JJavaError: An error occurred while calling o14466.expressionEnd.
: java.lang.IllegalArgumentException: Process [lt] expects a y argument. These arguments were found: xfunction tree: lt
at org.openeo.geotrellis.OpenEOProcessScriptBuilder.$anonfun$getProcessArg$1(OpenEOProcessScriptBuilder.scala:611)
at scala.collection.MapLike.getOrElse(MapLike.scala:131)
at scala.collection.MapLike.getOrElse$(MapLike.scala:129)
at scala.collection.AbstractMap.getOrElse(Map.scala:65)
at org.openeo.geotrellis.OpenEOProcessScriptBuilder.getProcessArg(OpenEOProcessScriptBuilder.scala:611)
at org.openeo.geotrellis.OpenEOProcessScriptBuilder.xyFunction(OpenEOProcessScriptBuilder.scala:885)
at org.openeo.geotrellis.OpenEOProcessScriptBuilder.expressionEnd(OpenEOProcessScriptBuilder.scala:1123)
at jdk.internal.reflect.GeneratedMethodAccessor581.invoke(Unknown Source)
Note: tested approach for filter labels is based on 'date_between'. Other approaches have not yet been validated, and seem to give this weird error.
indeed, if something is not supported ("less than" on date labels in this example), we should have that more explicit in the error message.
In context of https://forum.dataspace.copernicus.eu/t/sentinel-3-lst-day-time-images/1237 I was playing with
filter_labels
along time dimension:(synchronous) download fails with
While the process graph actually looks fine here (has a
y
argument in thelt
process):So this looks like a bug in the filter_labels implemenation