Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sentinel-2-c1-l2a missing preview transform #47

Open
jmettes opened this issue Jul 9, 2024 · 0 comments
Open

sentinel-2-c1-l2a missing preview transform #47

jmettes opened this issue Jul 9, 2024 · 0 comments

Comments

@jmettes
Copy link

jmettes commented Jul 9, 2024

The preview (L2A_PVI.tif) geotiff asset in Sentinel-2 Collection 1 does not have a shape or transform associated:

$ aws s3 cp --no-sign-request --region us-west-2 s3://e84-earth-search-sentinel-data/sentinel-2-c1-l2a\
/55/G/GL/2024/7/S2B_T55GGL_20240708T235829_L2A\
/S2B_T55GGL_20240708T235829_L2A.json - | jq -r '.assets["preview"]'
{
  "href": "https://e84-earth-search-sentinel-data.s3.us-west-2.amazonaws.com/sentinel-2-c1-l2a/55/G/GL/2024/7/S2B_T55GGL_20240708T235829_L2A/L2A_PVI.tif",
  "type": "image/tiff; application=geotiff; profile=cloud-optimized",
  "title": "True color preview",
  "eo:bands": [
    {
      "name": "B04",
      "common_name": "red",
      "center_wavelength": 0.665,
      "full_width_half_max": 0.038
    },
    {
      "name": "B03",
      "common_name": "green",
      "center_wavelength": 0.56,
      "full_width_half_max": 0.045
    },
    {
      "name": "B02",
      "common_name": "blue",
      "center_wavelength": 0.49,
      "full_width_half_max": 0.098
    }
  ],
  "file:checksum": "12205a11860ddf8bc8dde9ba7dc3f02c9b935affa59135bcdd133e1b42b170df9997",
  "file:size": 16852,
  "roles": [
    "overview"
  ]
}

In the old collection, every other geotiff has shape and transform fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant