Skip to content
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

Ab/initial changes for mspc #1

Merged
merged 27 commits into from
May 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2da874d
Modify readme
abarciauskas-bgse May 22, 2024
5b86d9e
Remove alternate URL and add planetary computer signing
abarciauskas-bgse May 22, 2024
e0e4a1e
Remove WMTS
abarciauskas-bgse May 22, 2024
56d2b0d
Remove application with auth from docs nav
abarciauskas-bgse May 22, 2024
bf1a1aa
Revert changes to collections endpoints.md
abarciauskas-bgse May 22, 2024
0672c74
Revert changes to collections endpoints.md
abarciauskas-bgse May 22, 2024
31fd37a
Revert changes to items endpoints.md
abarciauskas-bgse May 22, 2024
cbeb23a
remove wmts from collections_endpoints.md
abarciauskas-bgse May 22, 2024
96af83e
Remove WMTS from items_endpoints.md
abarciauskas-bgse May 22, 2024
456683f
Revert change to alternate url
abarciauskas-bgse May 22, 2024
001059c
Revert change to alternate url
abarciauskas-bgse May 22, 2024
b53de47
Merge branch 'ab/initial-changes-for-mspc' of github.com:developments…
abarciauskas-bgse May 22, 2024
2913b23
Revert change to items_endpoints.md
abarciauskas-bgse May 23, 2024
343dd03
Reame stac_reader, add blob regex to settings, rewrite signing logic
abarciauskas-bgse May 23, 2024
726ef87
Add tests
abarciauskas-bgse May 23, 2024
6b4c619
Add netcdf fixture json
abarciauskas-bgse May 23, 2024
3c0157c
Fix import and add include_asset_types to test
abarciauskas-bgse May 23, 2024
6f25ae3
Linting
abarciauskas-bgse May 23, 2024
67e5df3
Add doc string
abarciauskas-bgse May 23, 2024
379ae6b
Use modifier in ItemSearch and not explicit signed_url
abarciauskas-bgse May 23, 2024
b0c1901
Remove blob regex
abarciauskas-bgse May 24, 2024
bbb3396
Fix unused import and linting
abarciauskas-bgse May 24, 2024
6ec6ad4
Remove unused models
abarciauskas-bgse May 24, 2024
79bcd7b
Revert change to settings
abarciauskas-bgse May 24, 2024
2757a65
Remove unused fixture
abarciauskas-bgse May 24, 2024
ab31e93
Change repo name
abarciauskas-bgse May 24, 2024
8640e48
Fix links in readme
abarciauskas-bgse May 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert change to alternate url
abarciauskas-bgse committed May 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 456683f0ce82df432373332b5b33eda103f15986
2 changes: 2 additions & 0 deletions titiler/stacapi/backend.py
Original file line number Diff line number Diff line change
@@ -94,6 +94,8 @@ def _get_asset_info(self, asset: str) -> AssetInfo:
asset_info = self.input["assets"][asset]

url = asset_info["href"]
if alternate := stac_config.alternate_url:
url = asset_info["alternate"][alternate]["href"]

info = AssetInfo(url=url, env={})