Open SteffanDavies opened 2 months ago
Yes, this workaround is incompatible with some functions, and I remember RMSE calculation also does not work. I plan to support 2D stack-based computations in the same way as 3D ones. For now, I use this hack myself and have shared it with all users who might find it useful.
@SteffanDavies FYI, you can try the latest GitHub library version where most functions now support stack processing. Convert grids to stack format with stack=grid.stack(['y','x']) and convert them back with grid=stack.unstack(). Note that stack.dropna() is a simple but not lazy way to remove NaNs. I currently utilize stack processing for some of my projects, but I have no intention of showcasing the new features in public examples for the time being.
I am having difficulty unstacking the cumulative displacement grids using the suggested optimization on Patreon. The velocity works fine and so do the other grids.
I have even tried to do one date at a time but the same issue remains, despite having the same shape as velocity.