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

Avoid unnecessary `UserWarning: No cube:dimensions metadata`

Open
#315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request usability
Dominant language
Python
Stars
217
Forks
56
Avg merge
1d 22h
Merged PRs (30d)
2

Description

>>> connection.datacube_from_process("foobar")
openeo-python-client/openeo/metadata.py:244: UserWarning: No cube:dimensions metadata
  complain("No cube:dimensions metadata")

This UserWarning makes no sense here and should be avoided

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 at openeo-python-client/openeo/metadata.py:244 and trace the metadata handling reached by connection.datacube_from_process("foobar"). Reproduce the example to confirm when the warning appears, then verify that this unnecessary UserWarning is no longer emitted in that case.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.