Open-EO / openeo-gfmap

Generic framework for EO mapping applications building on openEO
Apache License 2.0
4 stars 0 forks source link

Use load_stac to read in rasterized extractions #85

Closed VincentVerelst closed 2 months ago

VincentVerelst commented 2 months ago

After the extractions we will have 4 overarching STAC collections. (S1, S2, Agera5 and ground truth).

This is a subissue of https://github.com/Open-EO/openeo-gfmap/issues/4

VincentVerelst commented 2 months ago

Currently, we get the following error message: Java.lang.IllegalArgumentException: GDAL Could not retrieve time values from netcdf.

Code example:

import openeo
c = openeo.connect('openeo.vito.be').authenticate_oidc()
test = c.load_stac('/data/users/Public/vincent.verelst/world_cereal/extractions_bys2tile/stac/collection.json')
test.execute_batch('test_load_stac.nc')

Job ID: j-240409358b0841e7b8e48dfb4e7df3e8 backend: openeo.vito.be

jdries commented 2 months ago

@VincentVerelst make sure to try on openeo-dev. I fixed a very similar issue for you last week I believe, but not sure if we promoted the fix to prod already.

VincentVerelst commented 2 months ago

Confirmed, load_stac works on openeo-dev. Two important notes:

VincentVerelst commented 2 months ago

Currently getting geotrellis.raster.gdal.MalformedDataTypeException: Unable to determine NoData value. GDAL Exception Code: 4. when trying to load the ground truth data (netCDF without time dimension)

Loading the S2 data (netCDF with time dimension) works.

Both on backend openeo-dev.vito.be

VincentVerelst commented 2 months ago

Currently blocked by https://github.com/Open-EO/openeo-geotrellis-extensions/issues/282

VincentVerelst commented 2 months ago

with https://github.com/Open-EO/openeo-gfmap/pull/99 it should be able to also read in the ground truth netCDF with load_stac