Open-EO / openeo-geotrellis-extensions

Java/Scala extensions for Geotrellis, for use with OpenEO GeoPySpark backend.
Apache License 2.0
5 stars 3 forks source link

Missing Sentinel2 inputs in E576N254 #116

Closed jdries closed 1 year ago

jdries commented 1 year ago

A piece of sentinel-2 input is missing in LAEA 20km tile E576N254, see screenshot.

Image

This zip file contains the relevant input products: search.zip

Or via: https://finder.creodias.eu/resto/api/collections/Sentinel2/search.json?processingLevel=&box=28.224938825398745%2C44.33670414936732%2C28.527981615198108%2C44.554878814900334&sortParam=startDate&sortOrder=ascending&page=1&maxRecords=200&status=0|34|37&dataset=ESA-DATASET&productType=L2A&startDate=2021-04-01T00%3A00%3A00Z&completionDate=2021-10-31T23%3A59%3A59.999999999Z

jdries commented 1 year ago

Minimal reproduce requires SCL dilation, with erosion kernel set to a value other than 0:

bands = creo_dev.load_collection("SENTINEL2_L2A", temporal_extent=["2021-05-07", "2021-05-07"],
                                          spatial_extent=laea20km_id_to_extent("E576N254"), bands=["B05","SCL"])
bands = bands.process("mask_scl_dilation",
                      data=bands,
                      scl_band_name="SCL", kernel1_size=0, kernel2_size=91,
                      erosion_kernel_size=3, ).filter_bands(bands.metadata.band_names[:-1])

bands.download("E576N254B5_creo13_noscl.tiff")