xarray-spatial icon indicating copy to clipboard operation
xarray-spatial copied to clipboard

Check/test full support for raster coordinates

Open ianthomas23 opened this issue 3 years ago • 2 comments

xarrays can have no (x, y) coordinates, or they can have 1d or 2d coordinates. Need to check that all algorithms support all 3 use cases, and add tests for them all.

New GPU algorithms certainly don't support this yet.

ianthomas23 avatar Nov 18 '21 11:11 ianthomas23

In the GIS world, I think it makes sense to assume that the data array should contain at least 2 dimensions of (y, x), or (lat, lon) coords. In fact, some of the xarray-spatial algorithms do not take coordinate values into account (zonal tools, multispectral tools for example), but if one does, then the coords should be named correctly IMO.

thuydotm avatar Nov 19 '21 06:11 thuydotm

Following discussion, we will restrict this to (y, x) coordinates that are each 1d arrays initially.

ianthomas23 avatar Nov 22 '21 11:11 ianthomas23