Comments (1)
full process graph for completeness:
{
"process_graph": {
"loadcollection1": {
"process_id": "load_collection",
"arguments": {
"bands": ["B02"],
"id": "SENTINEL2_L2A",
"spatial_extent": null,
"temporal_extent": ["2023-09-01", "2023-09-15"]
}
},
"aggregatespatial1": {
"process_id": "aggregate_spatial",
"arguments": {
"data": {"from_node": "loadcollection1"},
"geometries": {
"type": "Polygon",
"coordinates": [
[[3.001, 50], [3.001, 50.001], [3, 50.001], [3, 50], [3.001, 50]]
]
},
"reducer": {
"process_graph": {
"quantiles1": {
"process_id": "quantiles",
"arguments": {
"data": {"from_parameter": "data"},
"probabilities": [0.5]
}
},
"arrayelement1": {
"process_id": "array_element",
"arguments": {"data": {"from_node": "quantiles1"}, "index": 0},
"result": true
}
}
}
},
"result": true
}
}
}
and stack trace in logs:
File "/opt/venv/lib64/python3.8/site-packages/openeo_driver/ProcessGraphDeserializer.py", line 1594, in apply_process
return process_function(args=ProcessArgs(args, process_id=process_id), env=env)
File "/opt/venv/lib64/python3.8/site-packages/openeo_driver/ProcessGraphDeserializer.py", line 1142, in aggregate_spatial
return cube.aggregate_spatial(geometries=geoms, reducer=reduce_pg, target_dimension=target_dimension)
File "/opt/venv/lib64/python3.8/site-packages/openeogeotrellis/geopysparkdatacube.py", line 1354, in aggregate_spatial
visitor = GeotrellisTileProcessGraphVisitor(_builder=get_jvm().org.openeo.geotrellis.aggregate_polygon.SparkAggregateScriptBuilder()).accept_process_graph(reducer)
File "/opt/venv/lib64/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 77, in accept_process_graph
self.accept_node(graph[top_level_node])
File "/opt/venv/lib64/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 88, in accept_node
self._accept_process(process_id=pid, arguments=arguments, namespace=namespace)
File "/opt/venv/lib64/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 100, in _accept_process
self._accept_argument_dict(value)
File "/opt/venv/lib64/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 118, in _accept_argument_dict
self.accept_node(value['node'])
File "/opt/venv/lib64/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 88, in accept_node
self._accept_process(process_id=pid, arguments=arguments, namespace=namespace)
File "/opt/venv/lib64/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 96, in _accept_process
self._accept_argument_list(value)
File "/opt/venv/lib64/python3.8/site-packages/openeo/internal/process_graph_visitor.py", line 113, in _accept_argument_list
self.constantArrayElement(element)
File "/opt/venv/lib64/python3.8/site-packages/openeogeotrellis/processgraphvisiting.py", line 65, in constantArrayElement
self.builder.constantArrayElement(value)
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 o517246.constantArrayElement.
: java.lang.IllegalArgumentException: The process Constants are not expected in a reducer callback, got value 0.5. is not supported to be used in a reducer callback.
at org.openeo.geotrellis.aggregate_polygon.SparkAggregateScriptBuilder.badReducer(SparkAggregateScriptBuilder.scala:92)
at org.openeo.geotrellis.aggregate_polygon.SparkAggregateScriptBuilder.constantArrayElement(SparkAggregateScriptBuilder.scala:79)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
from openeo-geopyspark-driver.
Related Issues (20)
- SENTINEL3_SYN cloud flags band HOT 2
- fix JVM crash during integration tests
- fix integration test test_auth_jenkins_oidc_client_credentials_me HOT 2
- fix job trackers in Nifi HOT 6
- YARN integration test fails with: Remote end closed connection without response HOT 5
- Make Item ID configurable in Open-EO output STAC metadata HOT 3
- sample_by_feature: use feature property to name output items/assets HOT 5
- array-to-array reducer support in `aggregate_spatial`
- is_layer_too_large check throws a ZeroDivisionError for resample_spatial(resolution=0)
- regression: YARN diagnostics not returned in job error logs
- resample_spatial with resolution = 0
- pass reprojected_polygons in a geoparquet file to scala for vector_to_raster
- bbox/geometry not present in stac with netCDF HOT 2
- Sync requests: more accurate usage logging HOT 4
- improve persisting and retrieving batch job result metadata HOT 1
- Fix S2 tests around 2018 HOT 1
- job_tracker: killing of long running batch jobs
- integrate performance improvement for sparse sampling HOT 1
- resample_spatial with different CRS HOT 1
- include git commit sha in _backend_deploy_metadata HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openeo-geopyspark-driver.