openeo-python-client icon indicating copy to clipboard operation
openeo-python-client copied to clipboard

Math on all values throws error

Open m-mohr opened this issue 1 year ago • 8 comments

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

m-mohr avatar Feb 13 '24 14:02 m-mohr