-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multidimensional coordinnates is not supported #216
Comments
Sorry I forgot to reply here, but in general yes, I'm in favor of supporting this if possible. Thanks for opening #222! |
@gjoseph92 apologies if I'm miss-understanding, but would this address the ability to read multiband assets? I see in stackstac/stackstac/rio_reader.py Lines 340 to 344 in 95fa740
This prevents, e.g. reading most netcdf files in from stac, despite the fact that GDAL has good support for them, eg like so. (sorry I'm coming from the R language where we our 'stackstac'-like package, |
Stackstac.stack outputs an xarray with coordinates that can be either along band or time dimension but not both.
In the case where an asset has properties which is fluctuates based on the timestamp, stackstac supposedly drops that variable (I've seen cases where it actually picks only one of the values and associates it to the band dimension - but that's not my issue's topic).
However, coordinates typically like landsat 8/9 L1 radiance_mult etc. are very common and are supposed to be different per band and time.
I've already deep-dived into the accumulate_metadata.py and it doesn't seem suited for such cases. I've tried to integrate it by making minimal changes but I'm afraid the full accumulate_metadata.py would better be rewritten from scratch.
Would you be open to such by changes? Would you have a prefered way of proceeding? Should I just open a PR with my suggestion?
The text was updated successfully, but these errors were encountered: