Closed rbavery closed 8 months ago
Yes! I think this is another flavor of https://github.com/pydata/xarray/issues/6038
One big difference between stackstac
and xpystac
is xpystac
returns at dataset rather than a dataarray and to do that conversion it uses DataArray.to_dataset
. I think the behavior should be that coords that depend only on band should be promoted to attrs on the data_vars. I'm opening up a PR to that effect.
using stackstac directly shows alls dimensions are coordinates
using xpystac, only band is left without a coordinate