Skip to content

Commit 48a7c66

Browse files
Merge pull request #43 from Terradue/feature/bka-zips
Change for nested BKA MUL/PAN bundles in nested ZIP files
2 parents d8f02a5 + 12162b5 commit 48a7c66

10 files changed

+553
-108
lines changed

src/Stars.Data.Tests/Resources/BKA/L1B/MetadataExtractorsTests_4077631-0220-MUL-B-1-1-1100761-150924T044238-ID.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
6792,
5555
3057
5656
],
57-
"view:azimuth": 84.08,
57+
"view:incidence_angle": 2.31,
58+
"view:sun_azimuth": 6.84,
59+
"view:sun_elevation": 84.08,
5860
"processing:level": "L1B",
5961
"title": "BKA MSS L1B 2015-09-24 04:43:01",
6062
"providers": [

src/Stars.Data.Tests/Resources/BKA/L1B/MetadataExtractorsTests_4077631-0220-PAN-B-1-1-1100761-150924T044238-ID.json

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"stac_version": "1.0.0",
33
"stac_extensions": [
4+
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
45
"https://stac-extensions.github.io/processing/v1.0.0/schema.json",
56
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
7+
"https://stac-extensions.github.io/raster/v1.0.0/schema.json",
68
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",
79
"https://stac-extensions.github.io/view/v1.0.0/schema.json"
810
],
@@ -52,7 +54,9 @@
5254
34087,
5355
17123
5456
],
55-
"view:azimuth": 84.08,
57+
"view:incidence_angle": 2.31,
58+
"view:sun_azimuth": 6.8,
59+
"view:sun_elevation": 84.08,
5660
"processing:level": "L1B",
5761
"title": "BKA MSS L1B 2015-09-24 04:43:02",
5862
"providers": [
@@ -86,7 +90,21 @@
8690
"href": "data/4077631-0220-PAN-B-1-1-1100761-150924T044238-ID/4077631-0220-PAN-B-1-1-1100761-150924T044238-ID.tif",
8791
"title": "L1B PAN",
8892
"filename": "4077631-0220-PAN-B-1-1-1100761-150924T044238-ID.tif",
89-
"file:size": 0
93+
"file:size": 0,
94+
"eo:bands": [
95+
{
96+
"name": "PAN",
97+
"common_name": "pan",
98+
"center_wavelength": 0.66,
99+
"full_width_half_max": 0.208
100+
}
101+
],
102+
"raster:bands": [
103+
{
104+
"data_type": "int8",
105+
"offset": 0.0
106+
}
107+
]
90108
},
91109
"metadata": {
92110
"type": "application/xml",

src/Stars.Data.Tests/Resources/BKA/L1C/MetadataExtractorsTests_4077631-0220-MUL-C-1-1-1100761-150924T044238-ID.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
6791,
5555
3052
5656
],
57-
"view:azimuth": 84.08,
57+
"view:incidence_angle": 2.31,
58+
"view:sun_azimuth": 6.84,
59+
"view:sun_elevation": 84.08,
5860
"processing:level": "L1C",
5961
"title": "BKA MSS L1C 2015-09-24 04:43:01",
6062
"providers": [

src/Stars.Data.Tests/Resources/BKA/L1C/MetadataExtractorsTests_4077631-0220-PAN-C-1-1-1100761-150924T044238-ID.json

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"stac_version": "1.0.0",
33
"stac_extensions": [
4+
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
45
"https://stac-extensions.github.io/processing/v1.0.0/schema.json",
56
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
7+
"https://stac-extensions.github.io/raster/v1.0.0/schema.json",
68
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",
79
"https://stac-extensions.github.io/view/v1.0.0/schema.json"
810
],
@@ -52,7 +54,9 @@
5254
34082,
5355
17110
5456
],
55-
"view:azimuth": 84.08,
57+
"view:incidence_angle": 2.31,
58+
"view:sun_azimuth": 6.8,
59+
"view:sun_elevation": 84.08,
5660
"processing:level": "L1C",
5761
"title": "BKA MSS L1C 2015-09-24 04:43:02",
5862
"providers": [
@@ -86,7 +90,21 @@
8690
"href": "data/4077631-0220-PAN-C-1-1-1100761-150924T044238-ID/4077631-0220-PAN-C-1-1-1100761-150924T044238-ID.tif",
8791
"title": "L1C PAN",
8892
"filename": "4077631-0220-PAN-C-1-1-1100761-150924T044238-ID.tif",
89-
"file:size": 0
93+
"file:size": 0,
94+
"eo:bands": [
95+
{
96+
"name": "PAN",
97+
"common_name": "pan",
98+
"center_wavelength": 0.66,
99+
"full_width_half_max": 0.208
100+
}
101+
],
102+
"raster:bands": [
103+
{
104+
"data_type": "int8",
105+
"offset": 0.0
106+
}
107+
]
90108
},
91109
"metadata": {
92110
"type": "application/xml",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
{
2+
"stac_version": "1.0.0",
3+
"stac_extensions": [
4+
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
5+
"https://stac-extensions.github.io/processing/v1.0.0/schema.json",
6+
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
7+
"https://stac-extensions.github.io/raster/v1.0.0/schema.json",
8+
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",
9+
"https://stac-extensions.github.io/view/v1.0.0/schema.json"
10+
],
11+
"type": "Feature",
12+
"id": "4089411-0220-C-1-1-1139831-160712T150120-BR",
13+
"geometry": {
14+
"type": "Polygon",
15+
"coordinates": [
16+
[
17+
[
18+
-45.95907552,
19+
-23.95074002
20+
],
21+
[
22+
-45.72936198,
23+
-23.90813368
24+
],
25+
[
26+
-45.81505208,
27+
-23.51828993
28+
],
29+
[
30+
-46.04410156,
31+
-23.5607921
32+
],
33+
[
34+
-45.95907552,
35+
-23.95074002
36+
]
37+
]
38+
]
39+
},
40+
"properties": {
41+
"datetime": "2016-07-12T15:01:20.0000000Z",
42+
"created": "2023-02-21T13:53:27.0000000Z",
43+
"platform": "bka",
44+
"constellation": "bka",
45+
"mission": "bka/kanopus-v",
46+
"instruments": [
47+
"mss"
48+
],
49+
"sensor_type": "optical",
50+
"spectral_mode": "MUL/PAN",
51+
"sat:platform_international_designator": "2012-039B",
52+
"proj:epsg": 32723,
53+
"proj:shape": [
54+
4441,
55+
2633
56+
],
57+
"view:incidence_angle": 1.65,
58+
"view:sun_azimuth": 2.58,
59+
"view:sun_elevation": 44.38,
60+
"processing:level": "L1C",
61+
"title": "BKA MSS L1C 2016-07-12 15:01:20",
62+
"providers": [
63+
{
64+
"name": "NAS",
65+
"description": "BKA (formerly known as BelKa 2) is a Belarusian remote sensing satellite developed under an agreement between the National Academy of Sciences of Belarus (NAS) and the Federal Space Agency of the Russian Federation. The BKA satellite is almost an exact copy of the Russian Kanopus-Vulkan N1 Environmental Satellite (Kanopus-V 1).",
66+
"roles": [
67+
"producer",
68+
"processor",
69+
"licensor"
70+
],
71+
"url": "https://gis.by/en/tech/bka/"
72+
}
73+
],
74+
"licence": "proprietary",
75+
"gsd": 10.59
76+
},
77+
"bbox": [
78+
-46.04410156,
79+
-23.95074002,
80+
-45.72936198,
81+
-23.51828993
82+
],
83+
"assets": {
84+
"L1C_MUL": {
85+
"type": "image/tiff; application=geotiff",
86+
"roles": [
87+
"data",
88+
"dn"
89+
],
90+
"href": "data/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/925_bka_1028560/PRODUCT/4089411-0220-MUL-C-1-1-1139831-160712T150120-BR/4089411-0220-MUL-C-1-1-1139831-160712T150120-BR.tif",
91+
"title": "L1C MUL",
92+
"filename": "4089411-0220-MUL-C-1-1-1139831-160712T150120-BR.tif",
93+
"eo:bands": [
94+
{
95+
"name": "MS1",
96+
"common_name": "blue",
97+
"center_wavelength": 0.492,
98+
"full_width_half_max": 0.04
99+
},
100+
{
101+
"name": "MS2",
102+
"common_name": "green",
103+
"center_wavelength": 0.558,
104+
"full_width_half_max": 0.07
105+
},
106+
{
107+
"name": "MS3",
108+
"common_name": "red",
109+
"center_wavelength": 0.675,
110+
"full_width_half_max": 0.09
111+
},
112+
{
113+
"name": "MS4",
114+
"common_name": "nir",
115+
"center_wavelength": 0.782,
116+
"full_width_half_max": 0.1
117+
}
118+
],
119+
"raster:bands": [
120+
{
121+
"data_type": "int8",
122+
"offset": 0.0
123+
},
124+
{
125+
"data_type": "int8",
126+
"offset": 0.0
127+
},
128+
{
129+
"data_type": "int8",
130+
"offset": 0.0
131+
},
132+
{
133+
"data_type": "int8",
134+
"offset": 0.0
135+
}
136+
]
137+
},
138+
"metadata_MUL": {
139+
"type": "application/xml",
140+
"roles": [
141+
"metadata"
142+
],
143+
"href": "data/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/925_bka_1028560/PRODUCT/4089411-0220-MUL-C-1-1-1139831-160712T150120-BR/4089411-0220-MUL-C-1-1-1139831-160712T150120-BR_pasp-en.xml",
144+
"filename": "4089411-0220-MUL-C-1-1-1139831-160712T150120-BR_pasp-en.xml"
145+
},
146+
"overview_MUL": {
147+
"type": "image/jpeg",
148+
"roles": [
149+
"overview"
150+
],
151+
"href": "data/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/925_bka_1028560/PRODUCT/4089411-0220-MUL-C-1-1-1139831-160712T150120-BR/4089411-0220-MUL-C-1-1-1139831-160712T150120-BR_preview.jpg",
152+
"filename": "4089411-0220-MUL-C-1-1-1139831-160712T150120-BR_preview.jpg"
153+
},
154+
"L1C_PAN": {
155+
"type": "image/tiff; application=geotiff",
156+
"roles": [
157+
"data",
158+
"dn"
159+
],
160+
"href": "data/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/925_bka_1028560/PRODUCT/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR.tif",
161+
"title": "L1C PAN",
162+
"filename": "4089411-0220-PAN-C-1-1-1139831-160712T150120-BR.tif",
163+
"eo:bands": [
164+
{
165+
"name": "PAN",
166+
"common_name": "pan",
167+
"center_wavelength": 0.66,
168+
"full_width_half_max": 0.208
169+
}
170+
],
171+
"raster:bands": [
172+
{
173+
"data_type": "int8",
174+
"offset": 0.0
175+
}
176+
]
177+
},
178+
"metadata_PAN": {
179+
"type": "application/xml",
180+
"roles": [
181+
"metadata"
182+
],
183+
"href": "data/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/925_bka_1028560/PRODUCT/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR_pasp-en.xml",
184+
"filename": "4089411-0220-PAN-C-1-1-1139831-160712T150120-BR_pasp-en.xml"
185+
},
186+
"overview_PAN": {
187+
"type": "image/jpeg",
188+
"roles": [
189+
"overview"
190+
],
191+
"href": "data/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/925_bka_1028560/PRODUCT/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR/4089411-0220-PAN-C-1-1-1139831-160712T150120-BR_preview.jpg",
192+
"filename": "4089411-0220-PAN-C-1-1-1139831-160712T150120-BR_preview.jpg"
193+
}
194+
},
195+
"links": []
196+
}

0 commit comments

Comments
 (0)