Open-EO / openeo-api

The openEO API specification
http://api.openeo.org
Apache License 2.0
91 stars 11 forks source link

Sentinel 1 data have wrong coordinates #537

Closed AlessandroGrassi1998 closed 3 weeks ago

AlessandroGrassi1998 commented 3 weeks ago

For my research I need pair of Sentinel 1 and Sentinel 2 images of the same ROI. While Sentinel 2 data is correct, Sentinel 1 seems to always have a shift to the left (east) even if coordinates are completely matching with Sentinel 2 data. An example can be seen in the attatched files. Here is the code I use to download:

spatial_extent = {
      "west": x_start,
      "south": y_start,
      "east": x_end,
      "north": y_end}
datacube = connection.load_collection(
      "SENTINEL1_GRD",
      spatial_extent=spatial_extent,
      temporal_extent = [sample_day, sample_day],
      bands=["VV", "VH"],
  ).sar_backscatter(coefficient="beta0")
if os.path.exists(s1_save_path):
      os.remove(s1_save_path)
datacube.download(s1_save_path, format=format)

datacube = connection.load_collection(
      "SENTINEL2_L2A",
      spatial_extent=spatial_extent,
      temporal_extent = [sample_day, sample_day],
      bands=["B04", "B08", "B11", "SCL"],
      max_cloud_cover=2
  )
if os.path.exists(s2_save_path):
      os.
remove(s2_save_path)
datacube.download(s2_save_path, format=format)

Here is the tif file I have downloaded: sentinel_files.zip

image image

m-mohr commented 3 weeks ago

Please reach out to the support channels of the provider you are using. This repository is about the API specification.