xcube-dev / xcube-sh

An xcube plugin to allow generating data cubes from the Sentinel Hub Cloud API
MIT License
13 stars 10 forks source link

Generation of S3OLCI cube fails #24

Closed AliceBalfanz closed 3 years ago

AliceBalfanz commented 3 years ago

When requesting a S3OLCI cube with the below configuration, the cube generation fails with "Generating cube - error!"

{
  "input_configs": [
    {
      "store_id": "@sentinelhub",
      "data_id": "S3OLCI",
      "open_params": {
        "tile_size": [
          1024,
          1024
        ]
      }
    }
  ],
  "cube_config": {
    "variable_names": [
      "B04"
    ],
    "bbox": [
      8.278198242187502,
      53.753041719939674,
      9.195556640625002,
      54.13884192609886
    ],
    "spatial_res": 0.001,
    "crs": "WGS84",
    "time_range": [
      "2018-06-15",
      "2018-06-30"
    ],
    "time_period": "1D"
  },
  "output_config": {
    "store_id": "s3",
    "data_id": "sh-S3OLCI_B04",
    "store_params": {
      "bucket_name": "eurodatacube-scratch",
      "aws_access_key_id": "",
      "aws_secret_access_key": ""
    }
  }
}
forman commented 3 years ago

What is the actual error? This is likely an "xcube Generator" issue. What makes you think the root cause is in xcube-sh?

AliceBalfanz commented 3 years ago

This does not appear anymore, in the above configuration the store_id was incorrect. for OLCI data it has to be "store_id": "@sentinelhub_creodias",