Open-EO / openeo-geopyspark-driver

OpenEO driver for GeoPySpark (Geotrellis)
Apache License 2.0
26 stars 4 forks source link

Error when applying color table #337

Open DeRooBert opened 1 year ago

DeRooBert commented 1 year ago

When adding color_table to create_job: create_job(title=title,description=description,out_format='GTiff',job_options=job_options,color_table = color_table,overview_method="mode")

The job fails with following error message: java.lang.ClassCastException: cannot assign instance of spire.std.DoubleAlgebra to field geotrellis.raster.render.BreakMap.evidence$1 of type org.locationtech.geopyspark.shaded.cats.kernel.Order in instance of geotrellis.raster.render.BreakMap$mcDI$sp

removing color_table = color_table solves the issue.

(failed job id: j-d8d832a3859c49a7b62b22aae9933ddc)

soxofaan commented 1 year ago

can you also provide the color table you try to use there?