Skip to content

Commit 688739d

Browse files
committed
remove first_byte_latency, bucket, and object_path from spec and examples
1 parent 660262c commit 688739d

File tree

4 files changed

+20
-84
lines changed

4 files changed

+20
-84
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ with a STAC Item. This extension does not cover NFS solutions provided by PaaS
2323
| ----------- | ------ | ----------- |
2424
| storage:platform | string | The [cloud provider](#providers) where data is stored |
2525
| storage:region | string | The region where the data is stored. Relevant to speed of access and inter region egress costs (as defined by PaaS provider) |
26-
| storage:bucket | string | The bucket for the asset(s), used along with object path |
27-
| storage:object_path | string | The object_path for the asset, used along with bucket |
2826
| storage:requester_pays | bool | Is the data requester pays or is it data manager/cloud provider pays. *Defaults to false* |
2927
| storage:tier | string | The title for the tier type (as defined by PaaS provider) |
30-
| storage:first_byte_latency | string | approximate time unit (milliseconds, minutes or hours) for accessing first byte of data |
3128

3229
While these are all valid properties on an Item, they will typically be defined per-asset. If a field applies equally
3330
to all assets (e.g., storage:platform=AWS if all assets are on AWS), then it should be specified in Item properties.

examples/item-naip.json

Lines changed: 9 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -43,84 +43,55 @@
4343
"datetime": "2016-09-28T00:00:00+00:00",
4444
"mission": "NAIP",
4545
"platform": "UNKNOWN_PLATFORM",
46-
"gsd": 1,
47-
"storage:min_tier_duration": 0,
48-
"storage:max_tier_duration": 180,
49-
"storage:archived": true
46+
"gsd": 1
5047
},
5148
"assets": {
5249
"GEOTIFF_AZURE_RGBIR": {
5350
"href": "https://naip-nsl.blob.core.windows.net/tx/2016/100cm/rgb/30097/m_3009743_sw_14_1_20160928.tif",
5451
"type": "image/vnd.stac.geotiff",
55-
"storage:bucket": "naip-nsl",
56-
"storage:object_path": "tx/2016/100cm/rgb/30097/m_3009743_sw_14_1_20160928.tif",
5752
"storage:platform": "AZURE",
5853
"storage:region": "westus2",
59-
"storage:tier": "Archive tier",
60-
"storage:tier_duration": 180,
61-
"storage:date_stored": "2021-01-02T00:00:00+00:00",
62-
"storage:first_byte_latency": "hours"
54+
"storage:tier": "Archive tier"
6355
},
6456
"CO_GEOTIFF_GCP_RGB": {
65-
"href": "https://storage.googleapis.com/naip-data/tx/2016/100cm/rgb/30097/m_3009743_sw_14_1_20160928.tif",
57+
"href": "gs://naip-data/tx/2016/100cm/rgb/30097/m_3009743_sw_14_1_20160928.tif",
6658
"type": "image/vnd.stac.geotiff; cloud-optimized=true",
67-
"storage:bucket": "naip-data",
68-
"storage:object_path": "tx/2016/100cm/rgb/30097/m_3009743_sw_14_1_20160928.tif",
6959
"storage:platform": "GCP",
7060
"storage:region": "us-central1",
7161
"storage:requester_pays": true,
72-
"storage:tier": "COLDLINE",
73-
"storage:tier_duration": 90,
74-
"storage:date_stored": "2021-02-02T00:00:00+00:00",
75-
"storage:first_byte_latency": "milliseconds"
62+
"storage:tier": "COLDLINE"
7663
},
7764
"CO_GEOTIFF_AWS_RGB": {
78-
"href": "https://naip-visualization.s3.amazonaws.com/tx/2016/100cm/rgb/30097/m_3009743_sw_14_1_20160928.tif",
65+
"href": "s3://naip-visualization/tx/2016/100cm/rgb/30097/m_3009743_sw_14_1_20160928.tif",
7966
"type": "image/vnd.stac.geotiff; cloud-optimized=true",
80-
"storage:bucket": "naip-visualization",
81-
"storage:object_path": "tx/2016/100cm/rgb/30097/m_3009743_sw_14_1_20160928.tif",
8267
"storage:platform": "AWS",
8368
"storage:region": "us-west-2",
8469
"storage:requester_pays": true,
85-
"storage:tier": "standard",
86-
"storage:tier_duration": 0,
87-
"storage:first_byte_latency": "milliseconds"
70+
"storage:tier": "standard"
8871
},
8972
"CO_GEOTIFF_AZURE_RGB": {
9073
"href": "https://naipeuwest.blob.core.windows.net/naip/v002/tx/2016/tx_100cm_2016/30097/m_3009743_sw_14_1_20160928.tif",
9174
"type": "image/vnd.stac.geotiff; cloud-optimized=true",
92-
"storage:bucket": "naipeuwest",
93-
"storage:object_path": "naip/v002/tx/2016/tx_100cm_2016/30097/m_3009743_sw_14_1_20160928.tif",
9475
"storage:platform": "AZURE",
9576
"storage:region": "westeurope",
9677
"storage:requester_pays": false,
97-
"storage:tier": "hot tier",
98-
"storage:tier_duration": 0,
99-
"storage:first_byte_latency": "milliseconds"
78+
"storage:tier": "hot tier"
10079
},
10180
"CO_GEOTIFF_AZURE_RGB_DEPRECATED": {
10281
"href": "https://naipblobs.blob.core.windows.net/naip/v002/tx/2016/tx_100cm_2016/30097/m_3009743_sw_14_1_20160928.tif",
10382
"type": "image/vnd.stac.geotiff; cloud-optimized=true",
104-
"storage:bucket": "naipblobs",
105-
"storage:object_path": "naip/v002/tx/2016/tx_100cm_2016/30097/m_3009743_sw_14_1_20160928.tif",
10683
"storage:platform": "AZURE",
10784
"storage:region": "eastus",
10885
"storage:requester_pays": false,
109-
"storage:tier": "hot tier",
110-
"storage:tier_duration": 0,
111-
"storage:first_byte_latency": "milliseconds"
86+
"storage:tier": "hot tier"
11287
},
11388
"THUMBNAIL_AZURE_DEPRECATED": {
11489
"href": "https://naipblobs.blob.core.windows.net/naip/v002/tx/2016/tx_100cm_2016/30097/m_3009743_sw_14_1_20160928.200.jpg",
11590
"type": "image/jpeg",
116-
"storage:bucket": "naipblobs",
117-
"storage:object_path": "naip/v002/tx/2016/tx_100cm_2016/30097/m_3009743_sw_14_1_20160928.200.jpg",
11891
"storage:platform": "AZURE",
11992
"storage:region": "eastus",
12093
"storage:requester_pays": false,
121-
"storage:tier": "hot tier",
122-
"storage:tier_duration": 0,
123-
"storage:first_byte_latency": "milliseconds"
94+
"storage:tier": "hot tier"
12495
}
12596
},
12697
"links": [

examples/item-nsl.json

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -44,60 +44,40 @@
4444
"mission": "SWIFT",
4545
"platform": "SWIFT_2",
4646
"instrument": "POM_1",
47-
"gsd": 0.20000000298023224,
48-
"storage:min_tier_duration": 0,
49-
"storage:max_tier_duration": 90,
50-
"storage:archived": true
47+
"gsd": 0.20000000298023224
5148
},
5249
"assets": {
5350
"GEOTIFF_RGB_GCP": {
54-
"href": "https://api.nearspacelabs.net/download/20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.tif",
51+
"href": "gs://swiftera-processed-data/20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.tif",
5552
"type": "image/vnd.stac.geotiff",
56-
"storage:bucket": "swiftera-processed-data",
57-
"storage:object_path": "20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.tif",
5853
"storage:platform": "GCP",
5954
"storage:region": "us-central1",
6055
"storage:requester_pays": true,
61-
"storage:tier": "Standard",
62-
"storage:tier_duration": 0,
63-
"storage:first_byte_latency": "milliseconds"
56+
"storage:tier": "Standard"
6457
},
6558
"THUMBNAIL_RGB_GCP": {
66-
"href": "https://api.nearspacelabs.net/download/20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.png",
59+
"href": "gs://swiftera-processed-data/20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.png",
6760
"type": "image/png",
68-
"storage:bucket": "swiftera-processed-data",
69-
"storage:object_path": "20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.png",
7061
"storage:platform": "GCP",
7162
"storage:region": "us-central1",
7263
"storage:requester_pays": true,
73-
"storage:tier": "Standard",
74-
"storage:tier_duration": 0,
75-
"storage:first_byte_latency": "milliseconds"
64+
"storage:tier": "Standard"
7665
},
7766
"GEOTIFF_RGB_AWS": {
78-
"href": "https://aws.api.nearspacelabs.net/download/20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.tif",
67+
"href": "s3://nsl-data-archive/20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.tif",
7968
"type": "image/vnd.stac.geotiff",
80-
"storage:bucket": "nsl-data-archive",
81-
"storage:object_path": "20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.tif",
8269
"storage:platform": "AWS",
83-
"storage:region": "us-central1",
70+
"storage:region": "us-central-1",
8471
"storage:requester_pays": true,
85-
"storage:tier": "Glacier",
86-
"storage:date_stored": "2021-02-02T00:00:00+00:00",
87-
"storage:tier_duration": 90,
88-
"storage:first_byte_latency": "milliseconds"
72+
"storage:tier": "Glacier"
8973
},
9074
"THUMBNAIL_RGB_AWS": {
91-
"href": "https://aws.api.nearspacelabs.net/download/20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.png",
75+
"href": "s3://nsl-data-archive/20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.png",
9276
"type": "image/png",
93-
"storage:bucket": "nsl-data-archive",
94-
"storage:object_path": "20190822T162258Z_TRAVIS_COUNTY/Published/REGION_0/20190822T183518Z_746_POM1_ST2_P.png",
9577
"storage:platform": "AWS",
96-
"storage:region": "us-central1",
78+
"storage:region": "us-central-1",
9779
"storage:requester_pays": true,
98-
"storage:tier": "Standard",
99-
"storage:tier_duration": 0,
100-
"storage:first_byte_latency": "hours"
80+
"storage:tier": "Standard"
10181
}
10282
},
10383
"links": [

json-schema/schema.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@
110110
"title": "Region",
111111
"type": "string"
112112
},
113-
"storage:bucket": {
114-
"title": "Bucket",
115-
"type": "string"
116-
},
117-
"storage:object_path": {
118-
"title": "Object Path",
119-
"type": "string"
120-
},
121113
"storage:requester_pays": {
122114
"type": "boolean",
123115
"title": "Requester pays",
@@ -126,10 +118,6 @@
126118
"storage:tier": {
127119
"title": "Tier",
128120
"type": "string"
129-
},
130-
"storage:first_byte_latency": {
131-
"title": "First Byte Latency",
132-
"type": "string"
133121
}
134122
}
135123
}

0 commit comments

Comments
 (0)