Open-EO / Open-EO/openeo-python-client

Load_stac, how to load ZARR assets using `bands` argument

Open
#785 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

local processing
Dominant language
Python
Stars
217
Forks
56
Avg merge
1d 22h
Merged PRs (30d)
2

Description

Hi, I'm looking into openEO client-side processing using a STAC catalog which contains various zarr assets. I can't seem to get load_stac to work with any given item because the asset type is not accepted, although I have noticed that the asset type can be supplied instead for the bands parameter in load_stac, but I'm not sure what the asset/mime type should be for zarr?

This refers to:

https://github.com/Open-EO/openeo-python-client/blob/master/openeo/local/connection.py#L235

https://github.com/Open-EO/openeo-processes-dask/blob/main/openeo_processes_dask/process_implementations/cubes/load.py#L154

https://github.com/gjoseph92/stackstac/blob/main/stackstac/prepare.py#L61

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced load_stac code in openeo/local/connection.py and the load implementation in openeo_processes_dask/process_implementations/cubes/load.py. Compare their asset and bands handling with stackstac/prepare.py, then establish the expected ZARR asset representation and verify the resulting load_stac behavior with a representative STAC item.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.