-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Julia function reduce #25
Comments
danlooo
added a commit
that referenced
this issue
Jan 15, 2024
danlooo
added a commit
that referenced
this issue
Jan 15, 2024
One can now do this: using OpenEOClient
con = connect("openeocloud.vito.be/openeo", "1.0.0", OpenEOClient.oidc_auth)
cube1 = DataCube(con, "LANDSAT8-9_L2",
BoundingBox(west=10.8, south=54.1, east=11.6, north=54.5),
("2020-01-20", "2020-01-30"), ["B01", "B02", "B03"]
)
cube2 = maximum(cube1["B01"], dims="t")
cube3 = reduce(con.max, cube1["B01"], dims="t")
#openEO DataCube
# collection: LANDSAT8-9_L2
# dimensions: ["x", "y"]
# bands: Unknown
# spatial extent: nothing
# temporal extent: nothing
# license: proprietary
# connection: https://openeocloud.vito.be/openeo/1.0.0
compute_result(cube3) |
merged see #23 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use julia function
reduce
that creates process calls withreduce_dimension
to use Julia syntax in openEO transformations.In Julia
reduce
takes an 2-argument function, whereas in openEO,reduce_dimension
takes a process with only one argument i.e. data.The text was updated successfully, but these errors were encountered: