-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Promote band-level coords to data var attributes for stackstac (#37)
Closes #36 As mentioned in the issue since xpystac always returns an xarray.Dataset, it needs to be careful about the conversion of coords that have "band" as their dim. In a DataArray each version that `stackstac` natively returns you end up with scalar coords per-band. I think the best way to map that onto the data variables is by using converting scalar coords to attrs.
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters