Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Respecting cube dimension metadata can cause unexpected missing 'bands' dimension

Abierto
#959 3 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@soxofaan ya está trabajando en esto.

Desde el 21/10/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug STAC and load_stac

See:
https://forum.dataspace.copernicus.eu/t/cannot-access-gfm-band/5639

Loading a collection with this cube metadata:

"cube:dimensions": {
    "x": {
      "axis": "x",
      "type": "spatial",
      "extent": [
        -180,
        180
      ]
    },
    "y": {
      "axis": "y",
      "type": "spatial",
      "extent": [
        -90,
        90
      ]
    },
    "time": {
      "type": "temporal",
      "extent": [
        "2015-01-01T00:00:00Z",
        null
      ]
    }
  },

Contradicting with item_assets metadata, from which we can clearly derive that there's multiple data assets, and thus multiple 'bands':

"item_assets": {
   "advisory_flags": {
     "type": "image/tiff; application=geotiff; profile=cloud-optimized",
     "roles": [
       "data"
     ],
     "title": "GFM Advisory Flags",
     "description": "GFM Advisory Flags"
   },
   "dlr_likelihood": {
     "type": "image/tiff; application=geotiff; profile=cloud-optimized",
     "roles": [
       "data"
     ],
     "title": "GFM Likelihood (Intermediate output - DLR algorithm)",
     "description": "GFM Likelihood (Intermediate output - DLR algorithm)"
   },
   "exclusion_mask": {
     "type": "image/tiff; application=geotiff; profile=cloud-optimized",
     "roles": [
       "data"
     ],
     "title": "GFM Exclusion Mask (Final output - Ensemble algorithm)",
     "description": "GFM Exclusion Mask (Final output - Ensemble algorithm)"
   },
   "tuw_likelihood": {
     "type": "image/tiff; application=geotiff; profile=cloud-optimized",
     "roles": [
       "data"
     ],
     "title": "GFM Uncertainties (Intermediate output - TUW algorithm)",
     "description": "GFM Uncertainties (Intermediate output - TUW algorithm)"
   },

This is caused by this recently merged PR:
https://github.com/Open-EO/openeo-python-client/pull/867
@suriyahgit @clausmichele : in general, even if you could argue that the metadata is 'wrong', it would be better if the python client is smart enough to detect such contradictions, and avoid breaking. Is a short term solution possible?

Lenguaje dominante
Python
Estrellas
219
Forks
58
Merge medio
1 d 2 h
PR fusionados (30 d)
8

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Open-EO/openeo-python-client

Todos los issues de Open-EO/openeo-python-client

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.