Open-EO / Open-EO/openeo-python-client
Math on all values throws error
Open
Nobody has claimed this yet.
bug
feature request
- Dominant language
- Python
- Stars
- 217
- Forks
- 56
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
I'm trying to run
data = connection.load_collection(
"ERA5",
spatial_extent = None,
temporal_extent = ["2000-01-01", "2000-01-02"],
bands = ["u10", "v10"]
)
data = data ** 2.01 # also tried data.power(2.01)
I'd expect that it computes the power for all vales in the data cube (i.e. apply(process = power)).
Unfortunately I get:
Must be in band math mode already
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the ERA5 data cube and the data ** 2.01 or data.power(2.01) expression shown here. Trace the implementation of these operations and the “Must be in band math mode already” error; done means applying the power operation across all cube values or clearly reporting the supported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100