Open-EO / openeo-geopyspark-driver

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

Sentinel-3: support sub-day datacubes? #647

Closed jdries closed 5 months ago

jdries commented 5 months ago

There can be multiple sentinel-3 lst products in a single day, so we may need a higher temporal resolution, so that the user can choose how to aggregate temporally.

jdries commented 5 months ago

This actually works now. Remaining problem is that netcdf and tiff writers will assume daily resolution.

    con = openeo.connect("openeo.dataspace.copernicus.eu").authenticate_oidc()
    datacube = con.load_collection(
        "SENTINEL3_SLSTR_L2_LST",
        spatial_extent={"west": -100, "south": 40, "east": -90, "north": 60},
        temporal_extent=["2020-08-03", "2020-08-04"],
        bands=['LST_in:LST']
    )
    datacube.aggregate_temporal_period(period="day",reducer="max").download("/tmp/forum676-us.nc")

Image

jdries commented 5 months ago

new issue to also be able to write sub-day datacubes: https://github.com/Open-EO/openeo-geotrellis-extensions/issues/257

closing this one as solved