Closed jzvolensky closed 4 months ago
It would be good to have feedbacks from the VITO team (@jdries @soxofaan) about how they implemented resample_spatial
on their side. Do you handle N-dimensional datacubes? Like x,y,bands,t + other dimensions that can be added using add_dimension
?
we don't do adding other dimensions, resample spatial just acts upon the x and y dimensions. The t and bands dimension are of course supported and basically left untouched.
I didn't mean that you add dimensions within this process, but I was wondering if you support as input datacubes with arbitrary number of dimensions (additional to x and y), which seems so from your reply! Thanks
to be clear: our backend does not at all support adding arbitrary number of dimensions. We mainly support these combinations for raster cubes: x,y x,y,bands x,y,bands,t x,y,t
Thanks for the contribution! Will add this to the latest release!
Hi all,
Corresponding issue which this will cover as well: https://github.com/Open-EO/openeo-processes-dask/issues/243.
I am currently working on adding the
align
parameter to the resample_spatial function as per the OpenEO processes documentation.Part of this also involves handling cubes with different dimensions setups. For now, I edited the original fixed transpose to check the shape in the 4 basic dimensions.
Currently I added the
align
as a dummy parameter which does not do anything but allows us to use the function.Couple of questions and ideas:
anchor
available which appears to do a similar operation to align link to the docsAny feedback, ideas and suggestions are welcome!
Thanks!