-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for generic auth headers with pystac + validators (#316)
collection or collection_id Add a test to ensure auth headers arg works Move function around Fix mypy and suppress type checks for mocked test Address review comments Fix mypy
- Loading branch information
1 parent
7d66139
commit 6a38a74
Showing
6 changed files
with
281 additions
and
9 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"type": "Feature", | ||
"stac_version": "1.0.0", | ||
"id": "CS3-20160503_132131_05", | ||
"properties": { | ||
"datetime": "2016-05-03T13:22:30.040000Z", | ||
"title": "A CS3 item", | ||
"license": "PDDL-1.0", | ||
"providers": [ | ||
{ | ||
"name": "CoolSat", | ||
"roles": ["producer", "licensor"], | ||
"url": "https://cool-sat.com/" | ||
} | ||
] | ||
}, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[-122.308150179, 37.488035566], | ||
[-122.597502109, 37.538869539], | ||
[-122.576687533, 37.613537207], | ||
[-122.2880486, 37.562818007], | ||
[-122.308150179, 37.488035566] | ||
] | ||
] | ||
}, | ||
"links": [ | ||
{ | ||
"rel": "collection", | ||
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v0.8.1/collection-spec/examples/sentinel2.json" | ||
} | ||
], | ||
"assets": { | ||
"analytic": { | ||
"href": "http://cool-sat.com/catalog/CS3-20160503_132130_04/analytic.tif", | ||
"title": "4-Band Analytic", | ||
"product": "http://cool-sat.com/catalog/products/analytic.json", | ||
"type": "image/tiff; application=geotiff; profile=cloud-optimized", | ||
"roles": ["data", "analytic"] | ||
}, | ||
"thumbnail": { | ||
"href": "http://cool-sat.com/catalog/CS3-20160503_132130_04/thumbnail.png", | ||
"title": "Thumbnail", | ||
"type": "image/png", | ||
"roles": ["thumbnail"] | ||
} | ||
}, | ||
"bbox": [-122.59750209, 37.48803556, -122.2880486, 37.613537207], | ||
"stac_extensions": [], | ||
"collection": "CS3" | ||
} |
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
Oops, something went wrong.