Closed clausmichele closed 3 years ago
@claxn @bgoesswe One of you has implemented the merge_cubes operation, right? Can you check this, please? Let me know if there's something I can help with.
Yes, I'll have a look
Update:
@bgoesswe Any news regarding merge_cubes?
- What is the meaning of X and Y in merge_cubes? Are they cube1 and cube2? Because I can use only x, only y, x and y, y and x but the result is always the same. I guess that the merge_cubes process doesn't do what is expected.
Likely a GEE issue. See also https://github.com/Open-EO/openeo-processes/issues/184.
I am sorry for the inconvenience, vacation times and deliverables kept me from continuing this, I will try to fix this within this week.
Using 2 load_collection processes with merge_cubes with overlap resolver produces a result. Instead, using the same data as input twice produces an error. I put here the two process graphs.
Thanks for the test inputs, this is of course wrong behavior to be investigated.
The label setting in array_element process inside merge_cube is ignored. In fact, in the working graph attached here there are two labels which are wrong but it works anyway. Setting no label at all produces the same result.
Since, the overlap resolver is at the current productive instance not implemented and executed at all, there will be no errors from the overlap resolver graph at the moment, so it is basically ignored right now.
Since, the overlap resolver is at the current productive instance not implemented and executed at all
Thanks for the hint. I wasn't aware that the deployed GEE instance is out-dated. I just updated the deployed version.
I had a discussion with @bgoesswe, who tries to currently implement a solution for the overlap_resolver
. @clausmichele: We came to the conclusion that the overlap_resolver
as described by the process specs is too complicated to be generally solved in GEE. There might be a workaround, but I think we would still need some time to work this out. I had a look at the EURAC use case, and it seems like, that you can circumvent the usage of merge_cubes
. If you call divide
, I assume your input data set is given in the linear domain, not in dB. If you would call anomaly(apply(apply(dc, log10), multiply(x, 10)))
, i.e., converting linear units to dB and then doing a subtraction with respect to the mean value (process anomaly
) (and after this operation converting dBs back to linear units), then you would have your desired result, I guess. I will further discuss the overlap_resolver
with @bgoesswe and @m-mohr , but this has a low priority at the moment, since we have to focus on D26.
The overlap_resolver has been removed temporarily.
Closing this issue in favor of #25, which is basically tackling the same issue.
I was trying to perform the n to 1 division needed for Eurac's use case without success. The process graph is the following and it's also stored in batch jobs with name
merge_cubes_division_n_to_1
Did I misunderstood how to use merge_cubes? Or is this type of merge not yet implemented?
Cheers, Michele