Skip to content

Commit c74f998

Browse files
DerekTan1Derek Tan
andauthored
Declare the EO extension on collections that use eo:bands (#382)
* Declare the EO extension on collections that use eo:bands sentinel-2-l2a, naip, planet-nicfi-analytic, planet-nicfi-visual and goes-cmi describe their bands with eo:bands in summaries and item_assets but do not list the EO extension in stac_extensions. Validators therefore skip those fields, and tools that key on the declared extension (for example, band-aware formula defaults) ignore the band metadata. Declare EO v1.1.0, the version most templates here already use. All five pass 'pctasks dataset validate-collection'. * Sync collection templates with fields that exist only in production fws-nwi: fws_nwi:state and fws_nwi:state_code summaries hls2-l30: scientific extension hls2-s30: scientific extension and sci:doi nasa-nex-gddp-cmip6: cmip6:model summary sentinel-3-synergy-syn-l2-netcdf: eo:bands summary --------- Co-authored-by: Derek Tan <tanderek@microsoft.com>
1 parent 1b8be00 commit c74f998

10 files changed

Lines changed: 462 additions & 5 deletions

File tree

‎datasets/fws-nwi/collection/template.json‎

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,116 @@
116116
"riparian",
117117
"historic_wetlands",
118118
"wetlands"
119+
],
120+
"fws_nwi:state": [
121+
"Alabama",
122+
"Alaska",
123+
"Arizona",
124+
"Arkansas",
125+
"California",
126+
"Colorado",
127+
"Connecticut",
128+
"Delaware",
129+
"District of Columbia",
130+
"Florida",
131+
"Georgia",
132+
"Hawaii",
133+
"Idaho",
134+
"Illinois",
135+
"Indiana",
136+
"Iowa",
137+
"Kansas",
138+
"Kentucky",
139+
"Louisiana",
140+
"Maine",
141+
"Maryland",
142+
"Massachusetts",
143+
"Michigan",
144+
"Minnesota",
145+
"Mississippi",
146+
"Missouri",
147+
"Montana",
148+
"Nebraska",
149+
"Nevada",
150+
"New Hampshire",
151+
"New Jersey",
152+
"New Mexico",
153+
"New York",
154+
"North Carolina",
155+
"North Dakota",
156+
"Ohio",
157+
"Oklahoma",
158+
"Oregon",
159+
"Pacific Trust Islands",
160+
"Pennsylvania",
161+
"Puerto Rico and Virgin Islands",
162+
"Rhode Island",
163+
"South Carolina",
164+
"South Dakota",
165+
"Tennessee",
166+
"Texas",
167+
"Utah",
168+
"Vermont",
169+
"Virginia",
170+
"Washington",
171+
"West Virginia",
172+
"Wisconsin",
173+
"Wyoming"
174+
],
175+
"fws_nwi:state_code": [
176+
"AL",
177+
"AK",
178+
"AZ",
179+
"AR",
180+
"CA",
181+
"CO",
182+
"CT",
183+
"DE",
184+
"DC",
185+
"FL",
186+
"GA",
187+
"HI",
188+
"ID",
189+
"IL",
190+
"IN",
191+
"IA",
192+
"KS",
193+
"KY",
194+
"LA",
195+
"ME",
196+
"MD",
197+
"MA",
198+
"MI",
199+
"MN",
200+
"MS",
201+
"MO",
202+
"MT",
203+
"NE",
204+
"NV",
205+
"NH",
206+
"NJ",
207+
"NM",
208+
"NY",
209+
"NC",
210+
"ND",
211+
"OH",
212+
"OK",
213+
"OR",
214+
"PacTrust",
215+
"PA",
216+
"PRVI",
217+
"RI",
218+
"SC",
219+
"SD",
220+
"TN",
221+
"TX",
222+
"UT",
223+
"VT",
224+
"VA",
225+
"WA",
226+
"WV",
227+
"WI",
228+
"WY"
119229
]
120230
},
121231
"assets": {

‎datasets/goes/goes-cmi/collection/template.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"stac_extensions": [
2626
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json",
2727
"https://stac-extensions.github.io/table/v1.2.0/schema.json",
28-
"https://stac-extensions.github.io/storage/v2.0.0/schema.json"
28+
"https://stac-extensions.github.io/storage/v2.0.0/schema.json",
29+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
2930
],
3031
"item_assets": {
3132
"C01_1km": {

‎datasets/hls2/collection/hls2-l30/template.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
2323
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
2424
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
25+
"https://stac-extensions.github.io/scientific/v1.0.0/schema.json",
2526
"https://stac-extensions.github.io/storage/v2.0.0/schema.json"
2627
],
2728
"item_assets": {

‎datasets/hls2/collection/hls2-s30/template.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
2323
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
2424
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
25+
"https://stac-extensions.github.io/scientific/v1.0.0/schema.json",
2526
"https://stac-extensions.github.io/storage/v2.0.0/schema.json"
2627
],
2728
"item_assets": {
@@ -303,6 +304,7 @@
303304
}
304305
},
305306
"license": "proprietary",
307+
"sci:doi": "10.5067/HLS/HLSS30.002",
306308
"keywords": [
307309
"Sentinel",
308310
"Landsat",

‎datasets/naip/collection/template.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"stac_extensions": [
2020
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json",
2121
"https://stac-extensions.github.io/table/v1.2.0/schema.json",
22-
"https://stac-extensions.github.io/storage/v2.0.0/schema.json"
22+
"https://stac-extensions.github.io/storage/v2.0.0/schema.json",
23+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
2324
],
2425
"item_assets": {
2526
"image": {

‎datasets/nasa-nex-gddp-cmip6/collection/template.json‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,43 @@
400400
}
401401
],
402402
"summaries": {
403+
"cmip6:model": [
404+
"ACCESS-CM2",
405+
"ACCESS-ESM1-5",
406+
"BCC-CSM2-MR",
407+
"CESM2",
408+
"CESM2-WACCM",
409+
"CMCC-CM2-SR5",
410+
"CMCC-ESM2",
411+
"CNRM-CM6-1",
412+
"CNRM-ESM2-1",
413+
"CanESM5",
414+
"EC-Earth3",
415+
"EC-Earth3-Veg-LR",
416+
"FGOALS-g3",
417+
"GFDL-CM4",
418+
"GFDL-CM4_gr2",
419+
"GFDL-ESM4",
420+
"GISS-E2-1-G",
421+
"HadGEM3-GC31-LL",
422+
"HadGEM3-GC31-MM",
423+
"IITM-ESM",
424+
"INM-CM4-8",
425+
"INM-CM5-0",
426+
"IPSL-CM6A-LR",
427+
"KACE-1-0-G",
428+
"KIOST-ESM",
429+
"MIROC-ES2L",
430+
"MIROC6",
431+
"MPI-ESM1-2-HR",
432+
"MPI-ESM1-2-LR",
433+
"MRI-ESM2-0",
434+
"NESM3",
435+
"NorESM2-LM",
436+
"NorESM2-MM",
437+
"TaiESM1",
438+
"UKESM1-0-LL"
439+
],
403440
"cmip6:scenario": [
404441
"historical",
405442
"ssp245",

‎datasets/planet-nicfi-analytic/collection/template.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"stac_extensions": [
3939
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json",
4040
"https://stac-extensions.github.io/table/v1.2.0/schema.json",
41-
"https://stac-extensions.github.io/storage/v2.0.0/schema.json"
41+
"https://stac-extensions.github.io/storage/v2.0.0/schema.json",
42+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
4243
],
4344
"item_assets": {
4445
"data": {

‎datasets/planet-nicfi-visual/collection/template.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"stac_extensions": [
3939
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json",
4040
"https://stac-extensions.github.io/table/v1.2.0/schema.json",
41-
"https://stac-extensions.github.io/storage/v2.0.0/schema.json"
41+
"https://stac-extensions.github.io/storage/v2.0.0/schema.json",
42+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
4243
],
4344
"item_assets": {
4445
"data": {

‎datasets/sentinel-2/collection/template.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"stac_extensions": [
2020
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json",
2121
"https://stac-extensions.github.io/table/v1.2.0/schema.json",
22-
"https://stac-extensions.github.io/storage/v2.0.0/schema.json"
22+
"https://stac-extensions.github.io/storage/v2.0.0/schema.json",
23+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
2324
],
2425
"item_assets": {
2526
"AOT": {

0 commit comments

Comments
 (0)