-
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.
Fix opening STAC Assets with xarray:open_kwargs engine field (#18)
Update the kwargs merging logic to have cascading priority where `default_kwargs` is overridden by `open_kwargs` which is overridden by user provided `kwargs` . Includes a regression unit test that extends the existing simple_zarr test to ensure that the fix for duplicate keys works. Note that the `xarray:open_kwargs` field is a part of the [`xarray-assets`](https://github.com/stac-extensions/xarray-assets/tree/v1.0.0) STAC extension (in Proposal stage), xref #16 Fixes #17
- Loading branch information
Showing
3 changed files
with
13 additions
and
2 deletions.
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
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